Helper/ConfigurationHelper.php
private static function getJWTCreatorConfiguration($name, $signer, $encrypter = null, $is_public = true)
    {
        self::checkParameters($name, $is_public);
        Assertion::string($signer);
        Assertion::notEmpty($signer);
        Assertion::nullOrString($encrypter);

        return [
            self::BUNDLE_ALIAS => [
                'jwt_creators' => [
                    $name => [
                        'is_public' => $is_public,
                        'signer'    => $signer,
                        'encrypter' => $encrypter,
                    ],
                ],
            ],
        ];
    }
private static function getJWTCreatorConfiguration($name, $signer, $encrypter = null, $is_public = true)
    {
        self::checkParameters($name, $is_public);
        Assertion::string($signer);
        Assertion::notEmpty($signer);
        Assertion::nullOrString($encrypter);

        return [
            self::BUNDLE_ALIAS => [
                'jwt_creators' => [
                    $name => [
                        'is_public' => $is_public,
                        'signer'    => $signer,
                        'encrypter' => $encrypter,
                    ],
                ],
            ],
        ];
    }
private static function getJWTCreatorConfiguration ( $ name , $ signer , $ encrypter = null , $ is_public = true ) { self :: checkParameters ( $ name , $ is_public ) ; Assertion :: string ( $ signer ) ; Assertion :: notEmpty ( $ signer ) ; Assertion :: nullOrString ( $ encrypter ) ; return [ self :: BUNDLE_ALIAS => [ 'jwt_creators' => [ $ name => [ 'is_public' => $ is_public , 'signer' => $ signer , 'encrypter' => $ encrypter , ] , ] , ] , ] ; }
@param string      $name
@param string      $signer
@param string|null $encrypter
@param bool        $is_public

@return array
@param string $name @param string $signer @param string|null $encrypter @param bool $is_public