ZF\Apigility\Admin\Model\InputFilterModel::getCollectionType PHP Method

getCollectionType() protected method

Determine the collection class to use
protected getCollectionType ( string $controller ) : string
$controller string
return string
    protected function getCollectionType($controller)
    {
        if (strstr($controller, '\\Rest\\')) {
            return RestInputFilterCollection::class;
        }
        if (strstr($controller, '\\Rpc\\')) {
            return RpcInputFilterCollection::class;
        }
        return InputFilterCollection::class;
    }