PhpSchool\CliMenu\MenuItem\AsciiArtItem::canSelect PHP Method

canSelect() public method

Can the item be selected
public canSelect ( ) : boolean
return boolean
    public function canSelect()
    {
        return false;
    }

Usage Example

コード例 #1
0
ファイル: AsciiArtItemTest.php プロジェクト: mops1k/cli-menu
 public function testCanSelectIsFalse()
 {
     $item = new AsciiArtItem('////\\\\');
     $this->assertFalse($item->canSelect());
 }