src/Output/Me.php
public function profile(OutputInterface $output, array $response)
    {
        $this->printList($output,
            ['Fullname', 'Username', 'Email', 'Admin', 'Notifications'],
            ['fullname', 'username', 'email', 'admin', 'notifications'],
            $response,
            function ($key, $value) {
                if ('Notifications' !== $key) {
                    return $value;
                }

                return sprintf('%d / %d', $value['new'], $value['total']);
            }
        );
    }
public function profile(OutputInterface $output, array $response)
    {
        $this->printList($output,
            ['Fullname', 'Username', 'Email', 'Admin', 'Notifications'],
            ['fullname', 'username', 'email', 'admin', 'notifications'],
            $response,
            function ($key, $value) {
                if ('Notifications' !== $key) {
                    return $value;
                }

                return sprintf('%d / %d', $value['new'], $value['total']);
            }
        );
    }
public function profile ( OutputInterface $ output , array $ response ) { $ this -> printList ( $ output , [ 'Fullname' , 'Username' , 'Email' , 'Admin' , 'Notifications' ] , [ 'fullname' , 'username' , 'email' , 'admin' , 'notifications' ] , $ response , function ( $ key , $ value ) { if ( 'Notifications' !== $ key ) { return $ value ; } return sprintf ( '%d / %d' , $ value [ 'new' ] , $ value [ 'total' ] ) ; } ) ; }
output for the profile api.

@param OutputInterface $output
@param array           $response
output for the profile api .