src/Identifier/IdentifierCollection.php
protected function _create($className, $alias, $config)
    {
        $identifier = new $className($config);
        if (!($identifier instanceof IdentifierInterface)) {
            throw new RuntimeException(sprintf(
                'Identifier class `%s` must implement `%s`.',
                $className,
                IdentifierInterface::class
            ));
        }

        return $identifier;
    }
protected function _create($className, $alias, $config)
    {
        $identifier = new $className($config);
        if (!($identifier instanceof IdentifierInterface)) {
            throw new RuntimeException(sprintf(
                'Identifier class `%s` must implement `%s`.',
                $className,
                IdentifierInterface::class
            ));
        }

        return $identifier;
    }
protected function _create ( $ className , $ alias , $ config ) { $ identifier = new $ className ( $ config ) ; if ( ! ( $ identifier instanceof IdentifierInterface ) ) { throw new RuntimeException ( sprintf ( 'Identifier class `%s` must implement `%s`.' , $ className , IdentifierInterface :: class ) ) ; } return $ identifier ; }
Creates identifier instance.

@param string $className Identifier class.
@param string $alias Identifier alias.
@param array $config Config array.
@return \Authentication\Identifier\IdentifierInterface
@throws \RuntimeException
Creates identifier instance .