コード例 #1
0
 /**
  * @param $path
  * @return bool
  * @throws ConfigurationException
  * @throws \Yamveecee\Resources\IllegalPathException
  */
 public function addPath($path)
 {
     if (null === $this->finder) {
         throw new \Yamveecee\Service\ConfigurationException('no resource finder set in classfinder service');
     }
     return $this->finder->addPath($path);
 }