프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 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 |