This commit is contained in:
2024-11-05 12:10:06 +08:00
commit 6b687feee2
3995 changed files with 418583 additions and 0 deletions
@@ -0,0 +1,33 @@
<?php
/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
*/
namespace Phinx\Config;
/**
* Config aware getNamespaceByPath method.
*
* @package Phinx\Config
* @author Andrey N. Mokhov
*/
interface NamespaceAwareInterface
{
/**
* Get Migration Namespace associated with path.
*
* @param string $path Path
* @return string|null
*/
public function getMigrationNamespaceByPath(string $path): ?string;
/**
* Get Seed Namespace associated with path.
*
* @param string $path Path
* @return string|null
*/
public function getSeedNamespaceByPath(string $path): ?string;
}