private function findInDir($dir, $templateName)
    {
        if (! array_key_exists($dir, $this->dirs)) {
            return false;
        }

        return $this->exists($this->dirs[$dir], $templateName);
    }
private function findInDir($dir, $templateName)
    {
        if (! array_key_exists($dir, $this->dirs)) {
            return false;
        }

        return $this->exists($this->dirs[$dir], $templateName);
    }
private function findInDir ( $ dir , $ templateName ) { if ( ! array_key_exists ( $ dir , $ this -> dirs ) ) { return false ; } return $ this -> exists ( $ this -> dirs [ $ dir ] , $ templateName ) ; }
Find a template when a specific directory name is required

@param  string  $dir
@param  string  $templateName
@return boolean
Find a template when a specific directory name is required