PHP Class Platformsh\Cli\Util\PropertyFormatter

显示文件 Open project: commerceguys/platform-cli Class Usage Examples

Public Properties

Property Type Description
$yamlInline integer

Protected Properties

Property Type Description
$input Symfony\Component\Console\Input\InputInterface | null

Public Methods

Method 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

Protected Methods

Method Description
formatDate ( string $value ) : string
formatHttpAccess ( array | string | null $httpAccess ) : string

Method Details

__construct() public method

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

configureInput() public static method

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 method

public format ( mixed $value, string $property = null ) : string
$value mixed
$property string
return string

formatDate() protected method

protected formatDate ( string $value ) : string
$value string
return string

formatHttpAccess() protected method

protected formatHttpAccess ( array | string | null $httpAccess ) : string
$httpAccess array | string | null
return string

Property Details

$input protected_oe property

protected InputInterface,Symfony\Component\Console\Input|null $input
return Symfony\Component\Console\Input\InputInterface | null

$yamlInline public_oe property

public int $yamlInline
return integer