Свойство | Тип | Описание | |
---|---|---|---|
$filename | Name of the file |
Метод | Описание | |
---|---|---|
art ( string $name = '' ) | Displays Pantheon ASCII artwork | |
interact ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | If the user does not specify the $name parameter, then we will prompt for it here. |
Метод | Описание | |
---|---|---|
availableArt ( ) : array | Return available art | |
formatFilename ( $name ) : |
Set the art filename. | |
getFilename ( ) : string | ||
retrieveArt ( $name ) : string | Retrieve the contents of an art file. | |
setFilename ( string $filename ) |
Метод | Описание | |
---|---|---|
randomArtName ( ) : string | Feeling lucky? Get a random artwork. |
protected availableArt ( ) : array | ||
Результат | array |
protected formatFilename ( $name ) : |
||
$name | ||
Результат |
public interact ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface |
protected retrieveArt ( $name ) : string | ||
$name | ||
Результат | string |