public function getProperty($name)
    {
        if ($this->hasProperty($name)) {
            return $this->properties[$name];
        }
        throw new ModelException(
            'Property ' . $name . ' does not exist.'
        );
    }
public function getProperty($name)
    {
        if ($this->hasProperty($name)) {
            return $this->properties[$name];
        }
        throw new ModelException(
            'Property ' . $name . ' does not exist.'
        );
    }
public function getProperty ( $ name ) { if ( $ this -> hasProperty ( $ name ) ) { return $ this -> properties [ $ name ] ; } throw new ModelException ( 'Property ' . $ name . ' does not exist.' ) ; }
Gets a PropertyModel for a class property.

@param string $name Property name to reflect.

@return PropertyModel
@throws ModelException if the property does not exist.
Gets a PropertyModel for a class property .