public function getProperty($name)
    {
        if (isset($this->$name)) {
            return $this->$name;
        }
        if (isset(static::$name)) {
            return static::$name;
        }
        return null;
    }
public function getProperty($name)
    {
        if (isset($this->$name)) {
            return $this->$name;
        }
        if (isset(static::$name)) {
            return static::$name;
        }
        return null;
    }
public function getProperty ( $ name ) { if ( isset ( $ this -> $ name ) ) { return $ this -> $ name ; } if ( isset ( static :: $ name ) ) { return static :: $ name ; } return null ; }
fetch current property value

@param $name

@return mixed
fetch current property value