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