controller/frontend/src/Controller/Frontend/Basket/Standard.php
public function get()
	{
		if( !isset( $this->baskets[$this->type] ) )
		{
			$this->baskets[$this->type] = $this->manager->getSession( $this->type );
			$this->checkLocale( $this->baskets[$this->type]->getLocale(), $this->type );
		}

		return $this->baskets[$this->type];
	}
public function get()
	{
		if( !isset( $this->baskets[$this->type] ) )
		{
			$this->baskets[$this->type] = $this->manager->getSession( $this->type );
			$this->checkLocale( $this->baskets[$this->type]->getLocale(), $this->type );
		}

		return $this->baskets[$this->type];
	}
public function get ( ) { if ( ! isset ( $ this -> baskets [ $ this -> type ] ) ) { $ this -> baskets [ $ this -> type ] = $ this -> manager -> getSession ( $ this -> type ) ; $ this -> checkLocale ( $ this -> baskets [ $ this -> type ] -> getLocale ( ) , $ this -> type ) ; } return $ this -> baskets [ $ this -> type ] ; }
Returns the basket object.

@return \Aimeos\MShop\Order\Item\Base\Iface Basket holding products, addresses and delivery/payment options
Returns the basket object .