Skip to content

Commit 6d8e530

Browse files
committed
add a method to retreive the policies
1 parent 8d2703f commit 6d8e530

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/Illuminate/Foundation/Support/Providers/AuthServiceProvider.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,14 @@ public function register()
3333
{
3434
//
3535
}
36+
37+
/**
38+
* Get the policies defined on the provider.
39+
*
40+
* @return array
41+
*/
42+
public function policies()
43+
{
44+
return $this->policies;
45+
}
3646
}

0 commit comments

Comments
 (0)