src/ParameterParser/ParameterClosure.php
public function getAliasUsage($withEncapsulation = true)
    {
        $aliases = '';

        foreach ($this->aliases as $prefix => $alias) {
            if ($withEncapsulation) {
                $aliases = ($aliases == '') ? ' (' : $aliases;
                $aliases .= ' '.$prefix.$alias;
            } else {
                $aliases = ($aliases == '') ? $prefix.$alias : $aliases.', '.$prefix.$alias;
            }
        }

        if ($withEncapsulation) {
            $aliases .= ($aliases == '') ? '' : ' )';
        }

        return $aliases;
    }
public function getAliasUsage($withEncapsulation = true)
    {
        $aliases = '';

        foreach ($this->aliases as $prefix => $alias) {
            if ($withEncapsulation) {
                $aliases = ($aliases == '') ? ' (' : $aliases;
                $aliases .= ' '.$prefix.$alias;
            } else {
                $aliases = ($aliases == '') ? $prefix.$alias : $aliases.', '.$prefix.$alias;
            }
        }

        if ($withEncapsulation) {
            $aliases .= ($aliases == '') ? '' : ' )';
        }

        return $aliases;
    }
public function getAliasUsage ( $ withEncapsulation = true ) { $ aliases = '' ; foreach ( $ this -> aliases as $ prefix => $ alias ) { if ( $ withEncapsulation ) { $ aliases = ( $ aliases == '' ) ? ' (' : $ aliases ; $ aliases .= ' ' . $ prefix . $ alias ; } else { $ aliases = ( $ aliases == '' ) ? $ prefix . $ alias : $ aliases . ', ' . $ prefix . $ alias ; } } if ( $ withEncapsulation ) { $ aliases .= ( $ aliases == '' ) ? '' : ' )' ; } return $ aliases ; }
Retrieve the alias usage as a String.

@return string
Retrieve the alias usage as a String .