Skip to content

Commit

Permalink
add a method to retreive the policies
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 31, 2018
1 parent 8d2703f commit 6d8e530
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,14 @@ public function register()
{
//
}

/**
* Get the policies defined on the provider.
*
* @return array
*/
public function policies()
{
return $this->policies;
}
}

0 comments on commit 6d8e530

Please sign in to comment.