public static function fromIdentifierOrAlias($identifierOrAlias)
    {
        $alias = $identifierOrAlias;
        $identifier = 'Plain';

        if (isset(self::$aliasToIdentifierMap[$identifierOrAlias])) {
            $identifier = self::$aliasToIdentifierMap[$identifierOrAlias];
        }

        return new static($alias, $identifier);
    }
public static function fromIdentifierOrAlias($identifierOrAlias)
    {
        $alias = $identifierOrAlias;
        $identifier = 'Plain';

        if (isset(self::$aliasToIdentifierMap[$identifierOrAlias])) {
            $identifier = self::$aliasToIdentifierMap[$identifierOrAlias];
        }

        return new static($alias, $identifier);
    }
public static function fromIdentifierOrAlias ( $ identifierOrAlias ) { $ alias = $ identifierOrAlias ; $ identifier = 'Plain' ; if ( isset ( self :: $ aliasToIdentifierMap [ $ identifierOrAlias ] ) ) { $ identifier = self :: $ aliasToIdentifierMap [ $ identifierOrAlias ] ; } return new static ( $ alias , $ identifier ) ; }
Instantiates the brush by identifier or alias.

@param string $identifierOrAlias

@return BrushInterface
Instantiates the brush by identifier or alias .