public function map(array $rawArray)
    {
        $map = new Map($rawArray);
        $this->segments = $map->getSegments();

        return $this;
    }
public function map(array $rawArray)
    {
        $map = new Map($rawArray);
        $this->segments = $map->getSegments();

        return $this;
    }
public function map ( array $ rawArray ) { $ map = new Map ( $ rawArray ) ; $ this -> segments = $ map -> getSegments ( ) ; return $ this ; }
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
Registers a list of title = > link pairs with the package .