Sulu\Component\Content\Compat\PropertyInterface::getStructure PHP Method

getStructure() public method

returns structure.
public getStructure ( ) : Sulu\Component\Content\Compat\StructureInterface
return Sulu\Component\Content\Compat\StructureInterface
    public function getStructure();

Usage Example

 protected function setUp()
 {
     parent::setUp();
     $this->contactManager = $this->prophesize(ContactManagerInterface::class);
     $this->accountManager = $this->prophesize(ContactManagerInterface::class);
     $this->node = $this->prophesize(Node::class);
     $this->property = $this->prophesize(PropertyInterface::class);
     $this->structure = $this->prophesize(StructureInterface::class);
     $this->structure->getLanguageCode()->willReturn($this->locale);
     $this->structure->getWebspaceKey()->willReturn($this->webspaceKey);
     $this->property->getStructure()->willReturn($this->structure->reveal());
     $this->serializer = $this->prophesize(Serializer::class);
 }
All Usage Examples Of Sulu\Component\Content\Compat\PropertyInterface::getStructure