예제 #1
0
 /**
  * Retrieve custom configuration for a specific class.
  * @param $class string|object - class or instance of class to retrieve
  * @param $key string optional - key to retrieve
  */
 public function getClassConfig($class, $key = null)
 {
     if (!is_string($class)) {
         $class = get_class($class);
     }
     return $this->config->getClassConfig($class, $key);
 }