src/DreamCommerce/ShopAppstoreLib/Resource.php
public function filters($filters)
    {
        if(!is_array($filters)){
            throw new \RuntimeException('Filters not specified', ResourceException::FILTERS_NOT_SPECIFIED);
        }

        $this->filters = json_encode($filters);

        return $this;
    }
public function filters($filters)
    {
        if(!is_array($filters)){
            throw new \RuntimeException('Filters not specified', ResourceException::FILTERS_NOT_SPECIFIED);
        }

        $this->filters = json_encode($filters);

        return $this;
    }
public function filters ( $ filters ) { if ( ! is_array ( $ filters ) ) { throw new \ RuntimeException ( 'Filters not specified' , ResourceException :: FILTERS_NOT_SPECIFIED ) ; } $ this -> filters = json_encode ( $ filters ) ; return $ this ; }
set filters for finding
@param array $filters
@return $this
@throws \RuntimeException
set filters for finding