mirror of
https://github.com/wataridori/solid-php-example.git
synced 2024-12-12 14:17:54 +00:00
Add canCode() in Workable
This commit is contained in:
parent
b84657cb73
commit
5fca394a22
@ -3,6 +3,7 @@
|
|||||||
// Interface Segregation Principle Violation
|
// Interface Segregation Principle Violation
|
||||||
interface Workable
|
interface Workable
|
||||||
{
|
{
|
||||||
|
public function canCode();
|
||||||
public function code();
|
public function code();
|
||||||
public function test();
|
public function test();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user