This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
interface CacheDataInterface { | |
public function setIndex($name, $group = ''); | |
public function index(); | |
public function setData( $value ); | |
public function data(); | |
public function increment( $offset = 1 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protocol SomethingProtocol { | |
public doSomething(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface ISomething { | |
public void doSomething(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
describe( | |
// The description of the specification. | |
'the describe function needs to have callable and context', | |
// All of the options and tests are contained within this closure. | |
// The closure or invoke object must accept no arguments, because none will | |
// be given when called. | |
function() {} | |
); |
NewerOlder