public function composeHtml(array $data = [], int $status = 200, array $config = []): SymfonyResponse
    {
        if (\is_null($view = $config['view'])) {
            throw new InvalidArgumentException('Missing [$view].');
        }

        return Response::make($this->convertToViewable($view, $data, $config), $status);
    }
public function composeHtml(array $data = [], int $status = 200, array $config = []): SymfonyResponse
    {
        if (\is_null($view = $config['view'])) {
            throw new InvalidArgumentException('Missing [$view].');
        }

        return Response::make($this->convertToViewable($view, $data, $config), $status);
    }
public function composeHtml ( array $ data = [ ] , int $ status = 200 , array $ config = [ ] ) : SymfonyResponse { if ( \ is_null ( $ view = $ config [ 'view' ] ) ) { throw new InvalidArgumentException ( 'Missing [$view].' ) ; } return Response :: make ( $ this -> convertToViewable ( $ view , $ data , $ config ) , $ status ) ; }
Compose HTML.

@param  array   $data
@param  int   $status
@param  array   $config

@throws \InvalidArgumentException

@return \Symfony\Component\HttpFoundation\Response
Compose HTML .