턴에 canDisplay() 추가

This commit is contained in:
2018-10-15 01:28:03 +09:00
parent 0aa2f2c44d
commit 01913983ea
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -142,6 +142,10 @@ abstract class BaseCommand{
}
public function canDisplay():bool{
return true;
}
public function testRunnable():?string{
if(!$this->isArgValid()){
throw new \InvalidArgumentException('인자가 제대로 설정되지 않았습니다');