public function get($key)
    {
        $pair = $this->repository->find($key);

        return $pair ? $pair->getValue() : null;
    }
public function get($key)
    {
        $pair = $this->repository->find($key);

        return $pair ? $pair->getValue() : null;
    }
public function get ( $ key ) { $ pair = $ this -> repository -> find ( $ key ) ; return $ pair ? $ pair -> getValue ( ) : null ; }
Returns pair value by key.

@param string $key

@return mixed
Returns pair value by key .