/** * Registers a list of title => link pairs with the package. * * All of the given data will be used as-is no translation, no URL conversion * will be applied! * * @param array $rawArray Array with title => link pairs * @return \Noherczeg\Breadcrumb\Breadcrumb */ public function map(array $rawArray) { $map = new Map($rawArray); $this->segments = $map->getSegments(); return $this; }