public function __construct(Step $step, $userIds = []) { $this->step = $step; $this->userIds = $userIds; $this->details = ['unlock' => ['path' => $step->getPath()->getId(), 'step' => $step->getId(), 'stepname' => $step->getName()]]; parent::__construct($step->getPath()->getResourceNode(), $this->details); }