public function meta(Basket $basket)
    {
        $meta = [];

        foreach ($this->metadata as $item) {
            $meta[$item->name()] = $item->generate($basket);
        }

        return $meta;
    }
public function meta(Basket $basket)
    {
        $meta = [];

        foreach ($this->metadata as $item) {
            $meta[$item->name()] = $item->generate($basket);
        }

        return $meta;
    }
public function meta ( Basket $ basket ) { $ meta = [ ] ; foreach ( $ this -> metadata as $ item ) { $ meta [ $ item -> name ( ) ] = $ item -> generate ( $ basket ) ; } return $ meta ; }
Process the Meta Data

@param Basket $basket
@return array
Process the Meta Data