public function validate(Request $request)
    {
        return ! \is_null($this->domain) && $request->getHost() === $this->getStrippedDomain();
    }
public function validate(Request $request)
    {
        return ! \is_null($this->domain) && $request->getHost() === $this->getStrippedDomain();
    }
public function validate ( Request $ request ) { return ! \ is_null ( $ this -> domain ) && $ request -> getHost ( ) === $ this -> getStrippedDomain ( ) ; }
Validate that the request domain matches the configured domain.

@param \Illuminate\Http\Request $request

@return bool
Validate that the request domain matches the configured domain .