controller/frontend/src/Controller/Frontend/Customer/Standard.php
public function uses( array $domains )
	{
		$this->domains = $domains;

		if( ( $id = $this->getContext()->getUserId() ) !== null ) {
			$this->item = $this->manager->getItem( $id, $domains, true );
		}

		return $this;
	}
public function uses( array $domains )
	{
		$this->domains = $domains;

		if( ( $id = $this->getContext()->getUserId() ) !== null ) {
			$this->item = $this->manager->getItem( $id, $domains, true );
		}

		return $this;
	}
public function uses ( array $ domains ) { $ this -> domains = $ domains ; if ( ( $ id = $ this -> getContext ( ) -> getUserId ( ) ) !== null ) { $ this -> item = $ this -> manager -> getItem ( $ id , $ domains , true ) ; } return $ this ; }
Sets the domains that will be used when working with the customer item

@param array $domains Domain names of the referenced items that should be fetched too
@return \Aimeos\Controller\Frontend\Customer\Iface Customer controller for fluent interface
@since 2019.04
Sets the domains that will be used when working with the customer item