Nwidart\Modules\Contracts\RepositoryInterface::findOrFail PHP Method

findOrFail() public method

Find a specific module. If there return that, otherwise throw exception.
public findOrFail ( $name ) : mixed
$name
return mixed
    public function findOrFail($name);