Skip to content

Commit cc801b8

Browse files
authored
Merge pull request #1 from abdouskamel/patch-1
Add canCode() to Workable
2 parents b84657c + 5fca394 commit cc801b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

4-interface-segregation-principle.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// Interface Segregation Principle Violation
44
interface Workable
55
{
6+
public function canCode();
67
public function code();
78
public function test();
89
}

0 commit comments

Comments
 (0)