public function __construct(\GemsEscort $escort) { $this->escort = $escort; $this->translateAdapter = $escort->translate->getAdapter(); $this->user = $escort->getLoader()->getCurrentUser(); }