private function getOrganizeMigrationsModes() : array
    {
        $constPrefix = 'VERSIONS_ORGANIZATION_';
        $prefixLen   = strlen($constPrefix);
        $refClass    = new ReflectionClass('Doctrine\Migrations\Configuration\Configuration');
        $constsArray = $refClass->getConstants();
        $namesArray  = [];

        foreach ($constsArray as $key => $value) {
            if (strpos($key, $constPrefix) !== 0) {
                continue;
            }

            $namesArray[] = substr($key, $prefixLen);
        }

        return $namesArray;
    }
private function getOrganizeMigrationsModes() : array
    {
        $constPrefix = 'VERSIONS_ORGANIZATION_';
        $prefixLen   = strlen($constPrefix);
        $refClass    = new ReflectionClass('Doctrine\Migrations\Configuration\Configuration');
        $constsArray = $refClass->getConstants();
        $namesArray  = [];

        foreach ($constsArray as $key => $value) {
            if (strpos($key, $constPrefix) !== 0) {
                continue;
            }

            $namesArray[] = substr($key, $prefixLen);
        }

        return $namesArray;
    }
private function getOrganizeMigrationsModes ( ) : array { $ constPrefix = 'VERSIONS_ORGANIZATION_' ; $ prefixLen = strlen ( $ constPrefix ) ; $ refClass = new ReflectionClass ( 'Doctrine\Migrations\Configuration\Configuration' ) ; $ constsArray = $ refClass -> getConstants ( ) ; $ namesArray = [ ] ; foreach ( $ constsArray as $ key => $ value ) { if ( strpos ( $ key , $ constPrefix ) !== 0 ) { continue ; } $ namesArray [ ] = substr ( $ key , $ prefixLen ) ; } return $ namesArray ; }
Find organize migrations modes for their names

@return string[]
Find organize migrations modes for their names