src/Lablog/Lablog/Category/FileCategory.php
public function exists($category)
    {
        $ds = DIRECTORY_SEPARATOR;
        $path = app_path().$ds.'lablog'.$ds.$category;

        if ($this->fs->isDirectory($path)) {
            return true;
        }

        return false;
    }
public function exists($category)
    {
        $ds = DIRECTORY_SEPARATOR;
        $path = app_path().$ds.'lablog'.$ds.$category;

        if ($this->fs->isDirectory($path)) {
            return true;
        }

        return false;
    }
public function exists ( $ category ) { $ ds = DIRECTORY_SEPARATOR ; $ path = app_path ( ) . $ ds . 'lablog' . $ ds . $ category ; if ( $ this -> fs -> isDirectory ( $ path ) ) { return true ; } return false ; }
Check if a given category exists or not.
@param  string $path
@return boolean
Check if a given category exists or not .