deprecationNotice example


    private $deprecationNotices = [];

    /** * @param string $message * @param string $class * @param string $method */
    public function addNoticeFromObject($message$class$method)
    {
        $this->deprecationNotice($message)->addObjectOccurrence($class$method);
        $this->addNotice();
    }

    /** * @param string $message */
    public function addNoticeFromProceduralCode($message)
    {
        $this->deprecationNotice($message)->addProceduralOccurrence();
        $this->addNotice();
    }

    
Home | Imprint | This part of the site doesn't use cookies.