src/Service/Misc/Registry.php
public function get($key)
    {
        if (empty($this->data[$key]) === true) {
            return null;
        }

        return $this->data[$key];
    }
public function get($key)
    {
        if (empty($this->data[$key]) === true) {
            return null;
        }

        return $this->data[$key];
    }
public function get ( $ key ) { if ( empty ( $ this -> data [ $ key ] ) === true ) { return null ; } return $ this -> data [ $ key ] ; }
Getter for the registry.

@param $key
The key under what we once stored the $value,

@return null|mixed
The value, if available.
Getter for the registry .