Caffeinated\Modules\Contracts\Repository::exists PHP Method

exists() public method

Determines if the given module exists.
public exists ( string $slug ) : boolean
$slug string
return boolean
    public function exists($slug);

Usage Example

コード例 #1
0
ファイル: Modules.php プロジェクト: nickurt/modules
 /**
  * Check if the given module exists.
  *
  * @param string $slug
  *
  * @return bool
  */
 public function exists($slug)
 {
     return $this->repository->exists($slug);
 }