role() 공개 메소드

Get an instance of the role model.
public role ( array $attributes = [] ) : Role
$attributes array
리턴 Silber\Bouncer\Database\Role
예제 #1
0
 /**
  * Get an instance of the role model.
  *
  * @param array $attributes
  * @return \Silber\Bouncer\Database\Role 
  * @static 
  */
 public static function role($attributes = array())
 {
     return \Silber\Bouncer\Bouncer::role($attributes);
 }