public typeCanDetectFixtures ( string $type ) : boolean | ||
$type | string | The Type of object you are generating tests for eg. controller |
return | boolean |
public function typeCanDetectFixtures($type)
{
$type = strtolower($type);
return in_array($type, ['controller', 'table']);
}