Property | Type | Description | |
---|---|---|---|
$filename | Name of the file |
Method | Description | |
---|---|---|
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. |
Method | Description | |
---|---|---|
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 ) |
Method | Description | |
---|---|---|
randomArtName ( ) : string | Feeling lucky? Get a random artwork. |
protected availableArt ( ) : array | ||
return | array |
protected formatFilename ( $name ) : |
||
$name | ||
return |
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 | ||
return | string |