Method | Description | |
---|---|---|
__construct ( $schema, $finder ) | Construct | |
dispatch ( $method, $params ) : mixed | Magically derives a query to send to the internal finder | |
find ( $criteria = null ) : Collection | Delegates directory to the Finder::find method | |
fromClass ( $className ) : |
Helper to build Wizard |
Method | Description | |
---|---|---|
_findById ( $params ) | Find an object by primary key | |
_sqlFromMethod ( $method ) | Derives an sql clause from a finder method e.g findByLlamaAndBlargh becomes llama=? and blargh=? |
public find ( $criteria = null ) : Collection | ||
return | Collection |
public static fromClass ( $className ) : |
||
return |