public function __construct($repository, $session) { parent::__construct($repository); $this->session = $session; }