Client.php
public function getClassConfig($class, $key = null)
  {
    if (!is_string($class)) {
      $class = get_class($class);
      $class = substr($class, strrpos($class, '\\')+1);
    }
    return $this->config->getClassConfig($class, $key);
  }
public function getClassConfig($class, $key = null)
  {
    if (!is_string($class)) {
      $class = get_class($class);
      $class = substr($class, strrpos($class, '\\')+1);
    }
    return $this->config->getClassConfig($class, $key);
  }
public function getClassConfig ( $ class , $ key = null ) { if ( ! is_string ( $ class ) ) { $ class = get_class ( $ class ) ; $ class = substr ( $ class , strrpos ( $ class , '\\' ) + 1 ) ; } return $ this -> config -> getClassConfig ( $ class , $ key ) ; }
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
@return array
Retrieve custom configuration for a specific class .