Sonata\CustomerBundle\Controller\Api\CustomerController::getCustomerAction PHP Method

getCustomerAction() public method

Retrieves a specific customer.
public getCustomerAction ( $id ) : Sonata\Component\Customer\CustomerInterface
$id
return Sonata\Component\Customer\CustomerInterface
    public function getCustomerAction($id)
    {
        return $this->getCustomer($id);
    }