src/Searsaw/Drawbridge/models/BridgeRole.php
public function addPermission($permission)
    {
        if (is_array($permission) || $permission instanceof \Traversable)
            return $this->addMultiplePermissions($permission);
        else
            return $this->addSinglePermission($permission);
    }
public function addPermission($permission)
    {
        if (is_array($permission) || $permission instanceof \Traversable)
            return $this->addMultiplePermissions($permission);
        else
            return $this->addSinglePermission($permission);
    }
public function addPermission ( $ permission ) { if ( is_array ( $ permission ) || $ permission instanceof \ Traversable ) return $ this -> addMultiplePermissions ( $ permission ) ; else return $ this -> addSinglePermission ( $ permission ) ; }
Add a permission to the role. The argument can be the permission name,
ID, Permission object, or an array of the previous

@param $permission array|\Traversable|string|integer The permission to add to the current role

@return \Searsaw\Drawbridge\Models\BridgePermission|\InvalidArgumentException
Add a permission to the role . The argument can be the permission name ID Permission object or an array of the previous