public function proxy(WebsiteEvent $event)
    {
        if ($event->website) {
            $this->directory($event->website);
        } elseif ($this->requiresWebsite) {
            return;
        }

        if ($this->requiresPath && !$this->exists()) {
            return;
        }

        $result = $this->load($event);

        // Possible after processing.

        return $result;
    }
public function proxy(WebsiteEvent $event)
    {
        if ($event->website) {
            $this->directory($event->website);
        } elseif ($this->requiresWebsite) {
            return;
        }

        if ($this->requiresPath && !$this->exists()) {
            return;
        }

        $result = $this->load($event);

        // Possible after processing.

        return $result;
    }
public function proxy ( WebsiteEvent $ event ) { if ( $ event -> website ) { $ this -> directory ( $ event -> website ) ; } elseif ( $ this -> requiresWebsite ) { return ; } if ( $ this -> requiresPath && ! $ this -> exists ( ) ) { return ; } $ result = $ this -> load ( $ event ) ; // Possible after processing. return $ result ; }
Proxies fired events to configure the handler.
@param WebsiteEvent $event
Proxies fired events to configure the handler .