예제 #1
0
 /**
  * @inheritdoc
  */
 protected function getMapping() : array
 {
     return array_merge(parent::getMapping(), [self::UPDATED_BEFORE => [$this->repo, 'filterByUpdatedBefore'], self::UPDATED_AFTER => [$this->repo, 'filterByUpdatedAfter']]);
 }
예제 #2
0
 /**
  * @inheritdoc
  */
 protected function getMapping() : array
 {
     return array_merge(parent::getMapping(), ['route' => [$this->repo, 'filterByRoute'], 'path' => [$this->repo, 'filterByPath'], 'method' => [$this->repo, 'filterByMethod'], 'query' => [$this->repo, 'filterByQuery'], 'status' => [$this->repo, 'filterByStatus'], 'ip' => [$this->repo, 'filterByIp'], 'user' => [$this->repo, 'filterByYser']]);
 }