Jarves\Configuration\Event::getCalls PHP Method

getCalls() public method

public getCalls ( ) : array
return array
    public function getCalls()
    {
        return $this->calls;
    }

Usage Example

Example #1
0
    public function testCall()
    {
        $xml = '<event key="core/object/modify" subject="core:domain">
  <call>core/test</call>
</event>';
        $event = new Event($xml, $this->getJarves());
        $this->assertEquals('core/object/modify', $event->getKey());
        $this->assertEquals('core:domain', $event->getSubject());
        $this->assertEquals(['core/test'], $event->getCalls());
        $this->assertEquals($xml, $event->toXml());
    }
All Usage Examples Of Jarves\Configuration\Event::getCalls