StubLocale deprecated

class StubLocale extends Locale deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\Locale\Locale} and {@link \Symfony\Component\Intl\Intl} instead. Alias of {@link \Symfony\Component\Intl\Locale\Locale}. Constants DEFAULT_LOCALE ACTUAL_LOCALE VALID_LOCALE LANG_TAG EXTLANG_TAG SCRIPT_TAG REGION_TAG VARIANT_TAG GRANDFATHERED_LANG_TAG PRIVATE_TAG Methods static string acceptFromHttp(string $header) Not support

StubIntlDateFormatter deprecated

class StubIntlDateFormatter extends IntlDateFormatter deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\DateFormatter\IntlDateFormatter} instead. Alias of {@link \Symfony\Component\Intl\DateFormatter\IntlDateFormatter}. Constants NONE FULL LONG MEDIUM SHORT TRADITIONAL GREGORIAN Methods __construct(string $locale, int $datetype, int $timetype, mixed $timezone = null, int $calendar = self::GREGORIAN, string $pattern =

StubIntl deprecated

class StubIntl extends IntlGlobals deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\Globals\IntlGlobals} instead. Alias of {@link \Symfony\Component\Intl\Globals\IntlGlobals}. Constants U_ZERO_ERROR Indicates that no error occurred. U_ILLEGAL_ARGUMENT_ERROR Indicates that an invalid argument was passed. U_PARSE_ERROR Indicates that the parse() operation failed. Methods static bool isFailure(int $errorCode) Returns whether the error cod

StubCollator deprecated

class StubCollator extends Collator deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\Collator\Collator} instead. Alias of {@link \Symfony\Component\Intl\Collator\Collator}. Constants FRENCH_COLLATION ALTERNATE_HANDLING CASE_FIRST CASE_LEVEL NORMALIZATION_MODE STRENGTH HIRAGANA_QUATERNARY_MODE NUMERIC_COLLATION DEFAULT_VALUE PRIMARY SECONDARY TERTIARY DEFAULT_STRENGTH QUATERNARY IDENTICAL OF

StubCaster::cutInternals()

static cutInternals($obj, array $a, Stub $stub, $isNested) Parameters $obj array $a Stub $stub $isNested

StubCaster::castStub()

static castStub(Stub $c, array $a, Stub $stub, $isNested) Parameters Stub $c array $a Stub $stub $isNested

StubCaster::castEnum()

static castEnum(EnumStub $c, array $a, Stub $stub, $isNested) Parameters EnumStub $c array $a Stub $stub $isNested

StubCaster::castCutArray()

static castCutArray(CutArrayStub $c, array $a, Stub $stub, $isNested) Parameters CutArrayStub $c array $a Stub $stub $isNested

StubCaster

class StubCaster Casts a caster's Stub. Methods static castStub(Stub $c, array $a, Stub $stub, $isNested) static castCutArray(CutArrayStub $c, array $a, Stub $stub, $isNested) static cutInternals($obj, array $a, Stub $stub, $isNested) static castEnum(EnumStub $c, array $a, Stub $stub, $isNested) Details static castStub(Stub $c, array $a, Stub $stub, $isNested) Parameters Stub $c array $a Stub $stub $isNested

StubbingContextInterface::getStubDir()

string getStubDir() Returns the directory where the stub resource bundles are stored. Return Value string An absolute path to a directory.