• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

thecodingmachine / dbal-fluid-schema-builder / 7686160655

28 Jan 2024 01:42PM UTC coverage: 100.0% (+0.6%) from 99.415%
7686160655

push

github

web-flow
Merge pull request #13 from aszenz/master

ci: Improve tests + fix ci deps

171 of 171 relevant lines covered (100.0%)

14.84 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/NamingStrategyInterface.php
1
<?php
2

3
namespace TheCodingMachine\FluidSchema;
4

5
interface NamingStrategyInterface
6
{
7
    /**
8
     * Returns the name of the jointure table from the name of the joined tables.
9
     *
10
     * @param string $table1
11
     * @param string $table2
12
     * @return string
13
     */
14
    public function getJointureTableName(string $table1, string $table2): string;
15

16
    /**
17
     * Returns the name of a foreign key column based on the name of the targeted table.
18
     *
19
     * @param string $targetTable
20
     * @return string
21
     */
22
    public function getForeignKeyColumnName(string $targetTable): string;
23

24
    /**
25
     * Decides to quote an identifier (or not) and returns the result.
26
     *
27
     * @param string $identifier
28
     * @return string
29
     */
30
    public function quoteIdentifier(string $identifier): string;
31
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc