PHP Class Platformsh\Cli\Util\PropertyFormatter

Afficher le fichier Open project: commerceguys/platform-cli Class Usage Examples

Méthodes publiques

Свойство Type Description
$yamlInline integer

Protected Properties

Свойство Type Description
$input Symfony\Component\Console\Input\InputInterface | null

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\Console\Input\InputInterface $input = null )
configureInput ( Symfony\Component\Console\Input\InputDefinition $definition ) Add options to a command's input definition.
format ( mixed $value, string $property = null ) : string

Méthodes protégées

Méthode Description
formatDate ( string $value ) : string
formatHttpAccess ( array | string | null $httpAccess ) : string

Method Details

__construct() public méthode

public __construct ( Symfony\Component\Console\Input\InputInterface $input = null )
$input Symfony\Component\Console\Input\InputInterface

configureInput() public static méthode

Add options to a command's input definition.
public static configureInput ( Symfony\Component\Console\Input\InputDefinition $definition )
$definition Symfony\Component\Console\Input\InputDefinition

format() public méthode

public format ( mixed $value, string $property = null ) : string
$value mixed
$property string
Résultat string

formatDate() protected méthode

protected formatDate ( string $value ) : string
$value string
Résultat string

formatHttpAccess() protected méthode

protected formatHttpAccess ( array | string | null $httpAccess ) : string
$httpAccess array | string | null
Résultat string

Property Details

$input protected_oe property

protected InputInterface,Symfony\Component\Console\Input|null $input
Résultat Symfony\Component\Console\Input\InputInterface | null

$yamlInline public_oe property

public int $yamlInline
Résultat integer