public function isBladeFile($slug)
    {
        $fullPath = base_path() . '/' . Config::get('lasallecmsfrontend.pathToTheBladeFiles') . '/pages/' . $slug . '.blade.php';

        if ($this->filesystem->isFile($fullPath)) {
            return true;
        }

        return false;
    }
public function isBladeFile($slug)
    {
        $fullPath = base_path() . '/' . Config::get('lasallecmsfrontend.pathToTheBladeFiles') . '/pages/' . $slug . '.blade.php';

        if ($this->filesystem->isFile($fullPath)) {
            return true;
        }

        return false;
    }
public function isBladeFile ( $ slug ) { $ fullPath = base_path ( ) . '/' . Config :: get ( 'lasallecmsfrontend.pathToTheBladeFiles' ) . '/pages/' . $ slug . '.blade.php' ; if ( $ this -> filesystem -> isFile ( $ fullPath ) ) { return true ; } return false ; }
Does a blade file exist for this page?

@param   string $slug
@return  bool
Does a blade file exist for this page?