public function testSupports() { $this->assertTrue($this->generator->supports('')); $this->assertTrue($this->generator->supports(null)); $this->assertTrue($this->generator->supports($this->contentDocument)); $this->assertFalse($this->generator->supports($this)); }
/** * {@inheritdoc} */ public function supports($name) { return parent::supports($name) || $this->isSyliusClassInstance($name); }