src/File.php
public function get(CacheKey $key) {

		if (!empty($this->elements[$key->getModule()] [$key->getProperty()])) {
            /** @noinspection PhpUndefinedMethodInspection */
            $tValue = $this->elements[$key->getModule()] [$key->getProperty()]->getValue ();
			return $tValue;
		} else {
			return false;
		}
	}
public function get(CacheKey $key) {

		if (!empty($this->elements[$key->getModule()] [$key->getProperty()])) {
            /** @noinspection PhpUndefinedMethodInspection */
            $tValue = $this->elements[$key->getModule()] [$key->getProperty()]->getValue ();
			return $tValue;
		} else {
			return false;
		}
	}
public function get ( CacheKey $ key ) { if ( ! empty ( $ this -> elements [ $ key -> getModule ( ) ] [ $ key -> getProperty ( ) ] ) ) { /** @noinspection PhpUndefinedMethodInspection */ $ tValue = $ this -> elements [ $ key -> getModule ( ) ] [ $ key -> getProperty ( ) ] -> getValue ( ) ; return $ tValue ; } else { return false ; } }
Get value from cache or null when not set
@param CacheKey $key
@return mixed
Get value from cache or null when not set