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

getMethodCalls() public method

Gets the methods to call after service initialization.
public getMethodCalls ( ) : array
return array An array of method calls
    public function getMethodCalls()
    {
        return $this->calls;
    }

Usage Example

Beispiel #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::getMethodCalls