public function registerDependency($dependencyName, $dependencyValue, $interactorName = null)
    {
        $registrationMethodName = $this->getDependencyRegistrationMethodName($interactorName);
        $this->dependencies->$registrationMethodName($dependencyName, $dependencyValue, $interactorName);
    }
public function registerDependency($dependencyName, $dependencyValue, $interactorName = null)
    {
        $registrationMethodName = $this->getDependencyRegistrationMethodName($interactorName);
        $this->dependencies->$registrationMethodName($dependencyName, $dependencyValue, $interactorName);
    }
public function registerDependency ( $ dependencyName , $ dependencyValue , $ interactorName = null ) { $ registrationMethodName = $ this -> getDependencyRegistrationMethodName ( $ interactorName ) ; $ this -> dependencies -> $ registrationMethodName ( $ dependencyName , $ dependencyValue , $ interactorName ) ; }
Register a dependency

@param string      $dependencyName
@param string      $dependencyValue
@param string|null $interactorName
Register a dependency