Jackalope\NodeType\NodeType::getPropertyDefinitions PHP Method

getPropertyDefinitions() public method

{@inheritDoc}
    public function getPropertyDefinitions()
    {
        if (null === $this->propertyDefinitions) {
            $this->propertyDefinitions = $this->getDeclaredPropertyDefinitions();
            foreach ($this->getSupertypes() as $nodeType) {
                $this->propertyDefinitions = array_merge($this->propertyDefinitions, $nodeType->getDeclaredPropertyDefinitions());
            }
        }
        return $this->propertyDefinitions;
    }