public function get($object) : array
    {
        $values = $this->storage->get($object);

        return ($values === null) ? [] : $values;
    }
public function get($object) : array
    {
        $values = $this->storage->get($object);

        return ($values === null) ? [] : $values;
    }
public function get ( $ object ) : array { $ values = $ this -> storage -> get ( $ object ) ; return ( $ values === null ) ? [ ] : $ values ; }
Returns the values associated to the given object.

If the object is not present in the storage, an empty array is returned.

@param object $object The object.

@return array The values associated with the object.
Returns the values associated to the given object .