protected static function others(FileManager $fileManager, array &$parameters)
    {
        if (in_array(
            static::explain($parameters, 'Do you want to create Model layer?', '[y/n]'),
            static::POSITIVES)
        ) {
            $fileManager->execute('model');
        }
        if (in_array(
            static::explain($parameters, 'Do you want to create Repository layer?', '[y/n]'),
            self::POSITIVES
        )) {
            $fileManager->execute('repository');
        }
    }
protected static function others(FileManager $fileManager, array &$parameters)
    {
        if (in_array(
            static::explain($parameters, 'Do you want to create Model layer?', '[y/n]'),
            static::POSITIVES)
        ) {
            $fileManager->execute('model');
        }
        if (in_array(
            static::explain($parameters, 'Do you want to create Repository layer?', '[y/n]'),
            self::POSITIVES
        )) {
            $fileManager->execute('repository');
        }
    }
protected static function others ( FileManager $ fileManager , array & $ parameters ) { if ( in_array ( static :: explain ( $ parameters , 'Do you want to create Model layer?' , '[y/n]' ) , static :: POSITIVES ) ) { $ fileManager -> execute ( 'model' ) ; } if ( in_array ( static :: explain ( $ parameters , 'Do you want to create Repository layer?' , '[y/n]' ) , self :: POSITIVES ) ) { $ fileManager -> execute ( 'repository' ) ; } }
Ask for others layers
@param FileManager $fileManager
@param array $parameters
Ask for others layers