public function get($property)
{
if ($this->lookingForConstants($property) && $this->constantDefined($property)) {
return constant($this->wrappedObject->getClassName() . '::' . $property);
}
if (null === $this->getWrappedObject()) {
throw $this->accessingPropertyOnNonObject($property);
}
if ($this->isObjectPropertyReadable($property)) {
return $this->wrap($this->getWrappedObject()->{$property});
}
throw $this->propertyNotFound($property);
}