code: public function all(array $filter = array())
      {
          if (count($filter) === 0) {
              return $this->sources;
          }
  
          return $this->filter($this->sources, $filter);
      }
docs: {@inheritdoc}