profile = $profile; } /** * Returns the unique ID * * @return string */ public function getId() { return static::class; } /** * Returns the descriptive name * * @return string */ abstract public function getName(); /** * Renders and returns the summary * * **Example** * * public function render() { * if (empty($this->profile['crmData'])) { * return ''; * } * * $view = new View('@pluginName/summary.twig'); * $view->crmData = $this->profile['crmData]; * return $view->render(); * } * * @return string */ abstract public function render(); /** * Returns order indicator used to sort all summaries before displaying them * * @return int */ abstract public function getOrder(); }