Beispiel #1
0
        }
        throw new BadMethodCallException('Not allowed.');
    }
    /**
     * @param string $name
     * @param NULL $value
     * @throws \BadMethodCallException
     */
    public function __set($name, $value)
    {
        throw new BadMethodCallException('Not allowed.');
    }
    /**
     * @param string $name
     * @return bool
     */
    public function __isset($name)
    {
        return $name == "value";
    }
    /**
     * @param string $name
     * @throws \BadMethodCallException
     */
    public function __unset($name)
    {
        throw new BadMethodCallException('Not allowed.');
    }
}
null::init();