src/wcmf/lib/core/impl/DefaultFactory.php
protected function getInterface($name) {
    if (isset($this->requiredInterfaces[$name])) {
      return $this->requiredInterfaces[$name];
    }
    return null;
  }
protected function getInterface($name) {
    if (isset($this->requiredInterfaces[$name])) {
      return $this->requiredInterfaces[$name];
    }
    return null;
  }
protected function getInterface ( $ name ) { if ( isset ( $ this -> requiredInterfaces [ $ name ] ) ) { return $ this -> requiredInterfaces [ $ name ] ; } return null ; }
Get the interface that is required to be implemented by the given instance
@param $name The name of the instance
@return Interface or null, if undefined
Get the interface that is required to be implemented by the given instance