protected function missing(string $resource, Theme $theme = null)
    {
        $path = $this->getBasePath();

        $message = "{$resource} not found in {$path}";

        if (!$this->themeIsDefault($theme)) {
            $default = $this->getBasePath($this->getDefaultTheme());

            $message .= " or {$default}";
        }

        $this->logger->warning($message);
    }
protected function missing(string $resource, Theme $theme = null)
    {
        $path = $this->getBasePath();

        $message = "{$resource} not found in {$path}";

        if (!$this->themeIsDefault($theme)) {
            $default = $this->getBasePath($this->getDefaultTheme());

            $message .= " or {$default}";
        }

        $this->logger->warning($message);
    }
protected function missing ( string $ resource , Theme $ theme = null ) { $ path = $ this -> getBasePath ( ) ; $ message = "{$resource} not found in {$path}" ; if ( ! $ this -> themeIsDefault ( $ theme ) ) { $ default = $ this -> getBasePath ( $ this -> getDefaultTheme ( ) ) ; $ message .= " or {$default}" ; } $ this -> logger -> warning ( $ message ) ; }
Log missing resource

@param string                $resource
@param \Laranix\Themer\Theme $theme
Log missing resource