src/Micrometa/Infrastructure/Factory/ProfiledNamesFactory.php
protected static function consumeNonScalarProfiledName($arg, &$profile)
    {
        // If it's an object argument
        if (is_object($arg)) {
            return self::createProfiledNameFromObject($arg, $profile);
        }

        // Else: It must be an array
        return self::createProfiledNameFromArray($arg, $profile);
    }
protected static function consumeNonScalarProfiledName($arg, &$profile)
    {
        // If it's an object argument
        if (is_object($arg)) {
            return self::createProfiledNameFromObject($arg, $profile);
        }

        // Else: It must be an array
        return self::createProfiledNameFromArray($arg, $profile);
    }
protected static function consumeNonScalarProfiledName ( $ arg , & $ profile ) { // If it's an object argument if ( is_object ( $ arg ) ) { return self :: createProfiledNameFromObject ( $ arg , $ profile ) ; } // Else: It must be an array return self :: createProfiledNameFromArray ( $ arg , $ profile ) ; }
Create a profiled name by consuming a non-scalar argument

@param \stdClass|array $arg         Argument
@param string|boolean|null $profile Profile

@return \stdClass Profiled name
Create a profiled name by consuming a non - scalar argument