DateTimeToTimestampTransformer::transform()

mixed transform(DateTimeInterface $dateTime) Transforms a DateTime object into a timestamp in the configured timezone. Parameters DateTimeInterface $dateTime A DateTimeInterface object Return Value mixed The value in the transformed representation Exceptions TransformationFailedException If the given value is not a \DateTimeInterface

CliDumper::setColors()

setColors(bool $colors) Enables/disables colored output. Parameters bool $colors

FrameStub

class FrameStub extends EnumStub Represents a single backtrace frame as returned by debug_backtrace() or Exception->getTrace(). Constants TYPE_REF TYPE_STRING TYPE_ARRAY TYPE_OBJECT TYPE_RESOURCE STRING_BINARY STRING_UTF8 ARRAY_ASSOC ARRAY_INDEXED Properties $type from Stub $class from Stub $value from Stub $cut from Stub $handle from Stub $refCount from Stub $position from Stub $keepArgs $inTraceStub Methods __const

MongoCaster

class MongoCaster Casts classes from the MongoDb extension to array representation. Methods static castCursor(MongoCursorInterface $cursor, array $a, Stub $stub, $isNested) Details static castCursor(MongoCursorInterface $cursor, array $a, Stub $stub, $isNested) Parameters MongoCursorInterface $cursor array $a Stub $stub $isNested

PercentType::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). Return Value string The prefix of the template block name

DefinitionDecorator::setAutowired()

Definition setAutowired($autowired) Sets autowired. Parameters $autowired Return Value Definition The current instance

Request::getUriForPath()

string getUriForPath(string $path) Generates a normalized URI for the given path. Parameters string $path A path to use instead of the current one Return Value string The normalized URI for the path

ConnectionOptions::getOption()

static int getOption(string $name) Fetches an option's corresponding constant value from an option name. The option name can either be in snake or camel case. Parameters string $name Return Value int Exceptions LdapException

ReflectionCaster::castClosure()

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

EntityType::getLoader()

EntityLoaderInterface getLoader(ObjectManager $manager, mixed $queryBuilder, string $class) Return the default loader object. Parameters ObjectManager $manager mixed $queryBuilder string $class Return Value EntityLoaderInterface