public function outputOrganizationMembershipInfo(Membership $membership, OutputInterface $output)
    {
        $output->writeln([
            '  ID: <info>'.$membership->userId.'</info>',
            '  Roles: <info>'.json_encode($membership->roles).'</info>',
            '  Active: <info>'.($membership->active ? 'True' : 'False').'</info>',
            '  Last Access: <info>'.$membership->lastAccess->format('c').'</info>',
        ]);
    }
public function outputOrganizationMembershipInfo(Membership $membership, OutputInterface $output)
    {
        $output->writeln([
            '  ID: <info>'.$membership->userId.'</info>',
            '  Roles: <info>'.json_encode($membership->roles).'</info>',
            '  Active: <info>'.($membership->active ? 'True' : 'False').'</info>',
            '  Last Access: <info>'.$membership->lastAccess->format('c').'</info>',
        ]);
    }
public function outputOrganizationMembershipInfo ( Membership $ membership , OutputInterface $ output ) { $ output -> writeln ( [ '  ID: <info>' . $ membership -> userId . '</info>' , '  Roles: <info>' . json_encode ( $ membership -> roles ) . '</info>' , '  Active: <info>' . ( $ membership -> active ? 'True' : 'False' ) . '</info>' , '  Last Access: <info>' . $ membership -> lastAccess -> format ( 'c' ) . '</info>' , ] ) ; }
Print information about an organization membership.

@param Membership      $membership
@param OutputInterface $output
Print information about an organization membership .