Dotink\Parody\Quip::__get PHP Method

__get() public method

This method will return the value assigned via Mime::onGet. It is possible that a user is attempting to mimic a magic property which would normally be accessed and provided via the __get() method on the actual class. Since this method can contain logic, it is also possible to have a Closure registered with Mime::give() on a property. As with other mimicking, the Closure will be passed the mime object as the first and only argument.
public __get ( string $property ) : mixed
$property string The property we are trying to get
return mixed The value as mimicked by the property
    public function __get($property)
    {
        if (isset($this->properties[$property])) {
            $quip = $this->properties[$property];
            return $quip instanceof \Closure ? $quip($this->mime) : $quip;
        }
        throw new \Exception(sprintf('The property %s was never mimicked', $property));
    }