public function registerAbility($ability, $callback)
    {
        $this->abilities->put($ability, $this->makeAbilityCallback($callback));
    }
public function registerAbility($ability, $callback)
    {
        $this->abilities->put($ability, $this->makeAbilityCallback($callback));
    }
public function registerAbility ( $ ability , $ callback ) { $ this -> abilities -> put ( $ ability , $ this -> makeAbilityCallback ( $ callback ) ) ; }
register ability to access.

@param string $ability
@param string|\Closure $callback
register ability to access .