protected function addQueue($action, $managerName, $model, $id = null)
    {
        if (!in_array($action, array( self::QUEUE_ACTION_PERSIST, self::QUEUE_ACTION_REMOVE))) {
            throw new \InvalidArgumentException(sprintf('Action unknown, manager name : "%s".', $managerName));
        }

        $this->queueActions[]      = $action;
        $this->queueManagerNames[] = $managerName;
        $this->queueModels[]       = $model;
        $this->queueIds[]          = $id;
    }