Symfony\Component\DependencyInjection\InterfaceInjector::getClass PHP Method

getClass() public method

Returns the interface name
public getClass ( ) : string
return string
    public function getClass()
    {
        return $this->class;
    }

Usage Example

Example #1
0
 protected function addInterfaceInjector(InterfaceInjector $injector, \DOMElement $parent)
 {
     $interface = $this->document->createElement('interface');
     $interface->setAttribute('class', $injector->getClass());
     $this->addMethodCalls($injector->getMethodCalls(), $interface);
     $parent->appendChild($interface);
 }
All Usage Examples Of Symfony\Component\DependencyInjection\InterfaceInjector::getClass