View file vendor/robmorgan/phinx/src/Phinx/Config/NamespaceAwareInterface.php

File size: 694B
<?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($path);

    /**
     * Get Seed Namespace associated with path.
     *
     * @param string $path Path
     *
     * @return string|null
     */
    public function getSeedNamespaceByPath($path);
}