original_string: public function create(UserInterface $user, $resourceClass, $resourceId, array $actions) : UserPermissionInterface
      {
          return new UserPermission($user, $resourceClass, $resourceId, $actions);
      }
code: public function create(UserInterface $user, $resourceClass, $resourceId, array $actions) : UserPermissionInterface
      {
          return new UserPermission($user, $resourceClass, $resourceId, $actions);
      }
code_tokens: public function create ( UserInterface $ user , $ resourceClass , $ resourceId , array $ actions ) : UserPermissionInterface { return new UserPermission ( $ user , $ resourceClass , $ resourceId , $ actions ) ; }
docstring: Create a user permission, not persisted, and return it.
  
  @param UserInterface $user
  @param               $resourceClass
  @param               $resourceId
  @param array         $actions
  
  @return UserPermissionInterface
docstring_tokens: Create a user permission not persisted and return it .