public static function create(array $options = [], $offset = null, $limit = null)
    {
        $dataProvider = new static($options, new Vault($options['__presetName']));
        $dataProvider->setOffset($offset);
        $dataProvider->setLimit($limit);

        return $dataProvider;
    }
public static function create(array $options = [], $offset = null, $limit = null)
    {
        $dataProvider = new static($options, new Vault($options['__presetName']));
        $dataProvider->setOffset($offset);
        $dataProvider->setLimit($limit);

        return $dataProvider;
    }
public static function create ( array $ options = [ ] , $ offset = null , $ limit = null ) { $ dataProvider = new static ( $ options , new Vault ( $ options [ '__presetName' ] ) ) ; $ dataProvider -> setOffset ( $ offset ) ; $ dataProvider -> setLimit ( $ limit ) ; return $ dataProvider ; }
Factory method which returns an instance of the concrete implementation and passes the given options, offset
and limit to it.

@param array $options Options for the Data Provider
@param integer $offset Record offset where the import should start
@param integer $limit Maximum number of records which should be imported
@return DataProviderInterface
Factory method which returns an instance of the concrete implementation and passes the given options offset and limit to it .