PHP Class Newscoop\PluginGeneratorBundle\Command\Validators

Author: Fabien Potencier ([email protected])
Show file Open project: sourcefabric/newscoop Class Usage Examples

Public Methods

Method Description
getReservedWords ( )
validateBundleName ( $bundle )
validateBundleNamespace ( $namespace, $requireVendorNamespace = true )
validateControllerName ( $controller )
validateEntityName ( $entity )
validateFormat ( $format )
validatePluginName ( $pluginName )
validateTargetDir ( $dir )
validateVendor ( $vendor )

Method Details

getReservedWords() public static method

public static getReservedWords ( )

validateBundleName() public static method

public static validateBundleName ( $bundle )

validateBundleNamespace() public static method

public static validateBundleNamespace ( $namespace, $requireVendorNamespace = true )

validateControllerName() public static method

public static validateControllerName ( $controller )

validateEntityName() public static method

public static validateEntityName ( $entity )

validateFormat() public static method

public static validateFormat ( $format )

validatePluginName() public static method

public static validatePluginName ( $pluginName )

validateTargetDir() public static method

public static validateTargetDir ( $dir )

validateVendor() public static method

public static validateVendor ( $vendor )