getActivationRepository() public method

Returns the activations repository.
public getActivationRepository ( ) : Cartalyst\Sentinel\Activations\ActivationRepositoryInterface
return Cartalyst\Sentinel\Activations\ActivationRepositoryInterface
Exemplo n.º 1
0
 /**
  * Returns the activations repository.
  *
  * @return ActivationRepository
  */
 public function activations()
 {
     return $this->sentinel->getActivationRepository();
 }
Exemplo n.º 2
0
 /**
  * Returns the activations repository.
  *
  * @return \Cartalyst\Sentinel\Activations\ActivationRepositoryInterface 
  * @static 
  */
 public static function getActivationRepository()
 {
     return \Cartalyst\Sentinel\Sentinel::getActivationRepository();
 }