Scalr\Model\Entity\Account\Environment::getProperty PHP Method

getProperty() public method

Gets environment property
public getProperty ( string $name ) : EnvironmentProperty
$name string Property name
return EnvironmentProperty
    public function getProperty($name)
    {
        if (empty($this->_properties)) {
            $this->getProperties();
        }
        return isset($this->_properties[$name]) ? $this->_properties[$name]->value : null;
    }