SensioLabs\Deptrac\DependencyResult\DependencyInterface::getClassA PHP Method

getClassA() public method

public getClassA ( )
    public function getClassA();

Usage Example

 /**
  * @param DependencyInterface $dependency
  *
  * @return $this
  */
 public function addInheritDependency(DependencyInterface $dependency)
 {
     if (!isset($this->inheritDependencies[$dependency->getClassA()])) {
         $this->inheritDependencies[$dependency->getClassA()] = [];
     }
     $this->inheritDependencies[$dependency->getClassA()][] = $dependency;
     return $this;
 }