src/Micrometa/Domain/Item/ItemSetupTrait.php
protected function valPropStructure($property)
    {
        // If the property object is invalid
        if (!is_object($property) || !$this->valPropProperties($property)) {
            throw new InvalidArgumentException(
                InvalidArgumentException::INVALID_PROPERTY_STR,
                InvalidArgumentException::INVALID_PROPERTY
            );
        }
    }
protected function valPropStructure($property)
    {
        // If the property object is invalid
        if (!is_object($property) || !$this->valPropProperties($property)) {
            throw new InvalidArgumentException(
                InvalidArgumentException::INVALID_PROPERTY_STR,
                InvalidArgumentException::INVALID_PROPERTY
            );
        }
    }
protected function valPropStructure ( $ property ) { // If the property object is invalid if ( ! is_object ( $ property ) || ! $ this -> valPropProperties ( $ property ) ) { throw new InvalidArgumentException ( InvalidArgumentException :: INVALID_PROPERTY_STR , InvalidArgumentException :: INVALID_PROPERTY ) ; } }
Validate the structure of a property object

@param \stdClass $property Property object

@throws InvalidArgumentException If the property object is invalid
Validate the structure of a property object