Cake\Console\ConsoleIo::styles PHP 메소드

styles() 공개 메소드

Add a new output style or get defined styles.
또한 보기: Cake\Console\ConsoleOutput::styles()
public styles ( string | null $style = null, array | boolean | null $definition = null ) : mixed
$style string | null The style to get or create.
$definition array | boolean | null The array definition of the style to change or create a style or false to remove a style.
리턴 mixed If you are getting styles, the style or null will be returned. If you are creating/modifying styles true will be returned.
    public function styles($style = null, $definition = null)
    {
        $this->_out->styles($style, $definition);
    }