src/Fuz/Component/SharedMemory/SharedMemory.php
public function get($property, $default = null)
    {
        $this->storage->openReader();
        $object = $this->getObjectSafely('openReader');
        $this->storage->close();

        $data = $object->getData();
        if (!property_exists($data, $property))
        {
            return $default;
        }

        return $data->{$property};
    }
public function get($property, $default = null)
    {
        $this->storage->openReader();
        $object = $this->getObjectSafely('openReader');
        $this->storage->close();

        $data = $object->getData();
        if (!property_exists($data, $property))
        {
            return $default;
        }

        return $data->{$property};
    }
public function get ( $ property , $ default = null ) { $ this -> storage -> openReader ( ) ; $ object = $ this -> getObjectSafely ( 'openReader' ) ; $ this -> storage -> close ( ) ; $ data = $ object -> getData ( ) ; if ( ! property_exists ( $ data , $ property ) ) { return $ default ; } return $ data -> { $ property } ; }
Returns a value from the shared object

@access public
@param mixed $property
@param mixed $default
@return mixed
@throws \Exception
Returns a value from the shared object