Method |
Description |
|
__call ( string $method, array $args ) : Mime |
Handle missing calls which, in short, means we should be looking for an extension. |
|
__callStatic ( string $method, array $args ) : mixed |
Allow us to call certain method statically, specifically create |
|
__construct ( string | object $target = NULL ) : void |
Create a new Mime. |
|
__invoke ( ) : Quip |
Get the quip |
|
define ( string $class ) : Mime |
Define a new quip (mocked class) to work on. |
|
expect ( ) : Mime |
Tell an open method what to expect |
|
extending ( string $parent_class ) : Mime |
Tells the class we're defining to extend a parent class, creating it if it does not
exist. |
|
give ( mixed $value = NULL ) : Mime |
Define a value to give for the open method or property |
|
implementing ( string $interface ) : Mime |
Tells the class we're defining to implement interfaces, creating it if it does not
exist. |
|
onCall ( string $method ) : Mime |
Opens a method on the quip object |
|
onGet ( string $property ) : Mime |
Opens a property on the quip object |
|
onNew ( ) : Mime |
Register a factory for adding methods/property mocks to objects instantiated later. |
|
resolve ( $target ) : Quip |
Gets the current working quip object (for injection) |
|
using ( string $trait ) : Mime |
Tell the class we're defining to use a given trait and if it doesn't exist, create it |
|