Default
Interfaces, Classes and Traits
- ConstraintInterface
- DO NOT IMPLEMENT this interface. It is only meant for usage as a type hint in libraries relying on composer/semver but creating your own constraint class that implements this interface is not a supported use case and will cause the composer/semver components to return unexpected results.
- NamedArgumentConstructorAnnotation
- Marker interface for PHP7/PHP8 compatible support for named arguments (and constructor property promotion).
- Reader
- Interface for annotation readers.
- ExceptionInterface
- Base exception marker interface for the instantiator component
- InstantiatorInterface
- Instantiator provides utility methods to build objects without invoking their constructors
- DirectoryInterface
- ConfigInterface
- DifferInterface
- ConfigurableFixerInterface
- ConfigurationDefinitionFixerInterface
- DefinedFixerInterface
- DeprecatedFixerInterface
- FixerInterface
- WhitespacesAwareFixerInterface
- DeprecatedFixerOptionInterface
- FixerConfigurationResolverInterface
- FixerOptionInterface
- CodeSampleInterface
- FixerDefinitionInterface
- VersionSpecificationInterface
- VersionSpecificCodeSampleInterface
- LinterInterface
- Interface for PHP code linting process manager.
- LintingResultInterface
- RuleSetInterface
- Set of rules to be used by fixer.
- RuleSetInterface
- Set of rules to be used by fixer.
- StartEndTokenAwareAnalysis
- ClientInterface
- Client interface for sending HTTP requests.
- CookieJarInterface
- Stores HTTP cookies.
- GuzzleException
- CurlFactoryInterface
- PromiseInterface
- A promise represents the eventual result of an asynchronous operation.
- PromisorInterface
- Interface used with classes that return a promise.
- TaskQueueInterface
- ILoggerFactory
- Logger
- LongestCommonSubsequence
- Interface for implementations of longest common subsequence calculation.
- Exception
- LongestCommonSubsequenceCalculator
- DiffOutputBuilderInterface
- Defines how an output builder should take a generated diff array and return a string representation of that diff.
- Exception
- LongestCommonSubsequenceCalculator
- DiffOutputBuilderInterface
- Defines how an output builder should take a generated diff array and return a string representation of that diff.
- Element
- Interface for Api Elements
- File
- Interface for files processed by the ProjectFactory
- Project
- Interface for project. Since the definition of a project can be different per factory this interface will be small.
- ProjectFactory
- Interface for project factories. A project factory shall convert a set of files into an object implementing the Project interface.
- Tag
- TagFactory
- StaticMethod
- Formatter
- Reference
- Interface for references in {@see \phpDocumentor\Reflection\DocBlock\Tags\See}
- DocBlockFactoryInterface
- PseudoType
- Type
- TokenInterface
- Argument token interface.
- ClassPatchInterface
- Class patch interface.
- DoubleInterface
- Core double interface.
- ReflectionInterface
- Reflection interface.
- DoublerException
- Core Prophecy exception interface.
- Exception
- Core Prophecy exception interface.
- PredictionException
- Core Prophecy exception interface.
- ProphecyException
- Core Prophecy exception interface.
- PredictionInterface
- Prediction interface.
- PromiseInterface
- Promise interface.
- ProphecyInterface
- Core Prophecy interface.
- ProphecySubjectInterface
- Controllable doubles interface.
- RevealerInterface
- Prophecies revealer interface.
- PHP_CodeCoverage_Driver
- Interface for code coverage drivers.
- Bor
- Foo
- Docblock
- foo
- iTemplate
- a
- b
- i
- PHPUnit_Exception
- Marker interface for PHPUnit exceptions.
- Test
- A Test can be run and collect its results.
- TestListener
- A Listener for test progress.
- PHPUnit_Framework_IncompleteTest
- A marker interface for marking any exception/error as result of an unit test as incomplete implementation or currently not implemented.
- PHPUnit_Framework_RiskyTest
- A marker interface for marking any exception/error as result of an unit test as risky.
- PHPUnit_Framework_SelfDescribing
- Interface for classes that can return a description of itself.
- PHPUnit_Framework_SkippedTest
- A marker interface for marking a unit test as being skipped.
- PHPUnit_Framework_Test
- A Test can be run and collect its results.
- PHPUnit_Framework_TestListener
- A Listener for test progress.
- PHPUnit_Runner_TestSuiteLoader
- An interface to define how a test suite should be loaded.
- PHPUnit_Framework_MockObject_Builder_Identity
- Builder interface for unique identifiers.
- PHPUnit_Framework_MockObject_Builder_Match
- Builder interface for invocation order matches.
- PHPUnit_Framework_MockObject_Builder_MethodNameMatch
- Builder interface for matcher of method names.
- PHPUnit_Framework_MockObject_Builder_Namespace
- Interface for builders which can register builders with a given identification.
- PHPUnit_Framework_MockObject_Builder_ParametersMatch
- Builder interface for parameter matchers.
- PHPUnit_Framework_MockObject_Builder_Stub
- Builder interface for stubs which are actions replacing an invocation.
- PHPUnit_Framework_MockObject_Exception
- Interface for exceptions used by PHPUnit_MockObject.
- PHPUnit_Framework_MockObject_Invocation
- Interface for invocations.
- PHPUnit_Framework_MockObject_Invokable
- Interface for classes which can be invoked.
- PHPUnit_Framework_MockObject_Matcher_Invocation
- Interface for classes which matches an invocation based on its method name, argument, order or call count.
- PHPUnit_Framework_MockObject_MockObject
- Interface for all mock objects which are generated by PHPUnit_Framework_MockObject_MockBuilder.
- PHPUnit_Framework_MockObject_Stub_MatcherCollection
- Stubs a method by returning a user-defined value.
- PHPUnit_Framework_MockObject_Stub
- An object that stubs the process of a normal method for a mock object.
- PHPUnit_Framework_MockObject_Verifiable
- Interface for classes which must verify a given expectation.
- AnInterface
- AnotherInterface
- InterfaceWithStaticMethod
- MockTestInterface
- TraversableMockTestInterface
- CacheException
- Exception interface for all exceptions thrown by an Implementing Library.
- CacheItemInterface
- CacheItemInterface defines an interface for interacting with objects inside a cache.
- CacheItemPoolInterface
- CacheItemPoolInterface generates CacheItemInterface objects.
- InvalidArgumentException
- Exception interface for invalid cache arguments.
- ContainerExceptionInterface
- Base interface representing a generic exception in a container.
- ContainerInterface
- Describes the interface of a container that exposes methods to read its entries.
- NotFoundExceptionInterface
- No entry was found in the container.
- EventDispatcherInterface
- Defines a dispatcher for events.
- ListenerProviderInterface
- Mapper from an event to the listeners that are applicable to that event.
- StoppableEventInterface
- An Event whose processing may be interrupted when the event has been handled.
- MessageInterface
- HTTP messages consist of requests from a client to a server and responses from a server to a client. This interface defines the methods common to each.
- RequestInterface
- Representation of an outgoing, client-side request.
- ResponseInterface
- Representation of an outgoing, server-side response.
- ServerRequestInterface
- Representation of an incoming, server-side HTTP request.
- StreamInterface
- Describes a data stream.
- UploadedFileInterface
- Value object representing a file uploaded through an HTTP request.
- UriInterface
- Value object representing a URI.
- LoggerAwareInterface
- Describes a logger-aware instance.
- LoggerInterface
- Describes a logger instance.
- LongestCommonSubsequence
- Interface for implementations of longest common subsequence calculation.
- Exception
- BlacklistedInterface
- Exception
- SignalableCommandInterface
- Interface for command reacting to signal.
- CommandLoaderInterface
- DescriptorInterface
- Descriptor interface.
- ExceptionInterface
- ExceptionInterface.
- OutputFormatterInterface
- Formatter interface for console output.
- OutputFormatterStyleInterface
- Formatter style interface for defining styles.
- WrappableOutputFormatterInterface
- Formatter interface for console output that supports word wrapping.
- HelperInterface
- HelperInterface is the interface all helpers must implement.
- InputAwareInterface
- InputAwareInterface should be implemented by classes that depends on the Console Input.
- InputInterface
- InputInterface is the interface implemented by all input classes.
- StreamableInputInterface
- StreamableInputInterface is the interface implemented by all input classes that have an input stream.
- ConsoleOutputInterface
- ConsoleOutputInterface is the interface implemented by ConsoleOutput class.
- OutputInterface
- OutputInterface is the interface implemented by all Output classes.
- StyleInterface
- Output style helpers.
- EventDispatcherInterface
- The EventDispatcherInterface is the central point of Symfony's event listener system.
- EventSubscriberInterface
- An EventSubscriber knows itself what events it is interested in.
- EventDispatcherInterface
- Allows providing hooks on domain-specific lifecycles by dispatching events.
- ExceptionInterface
- Exception interface for all exceptions thrown by the component.
- IOExceptionInterface
- IOException interface for file and input/output stream related exceptions thrown by the component.
- ExceptionInterface
- Marker interface for all exceptions thrown by the OptionsResolver component.
- Options
- Contains resolved option values.
- Stringable
- ExceptionInterface
- Marker Interface for the Process Component.
- ResetInterface
- Provides a way to reset an object to its initial state.
- ServiceProviderInterface
- A ServiceProviderInterface exposes the identifiers and the types of services provided by a container.
- ServiceSubscriberInterface
- A ServiceSubscriber exposes its dependencies via the static {@link getSubscribedServices} method.
- ExceptionInterface
- InflectorInterface
- SluggerInterface
- Creates a URL-friendly slug from a given string.
- ExceptionInterface
- Exception interface for all exceptions thrown by the component.
- InvocationContext
- ComposerAutoloaderInite4f5bc4bbfd9f29003e89070be0c9fac
- ComposerStaticInite4f5bc4bbfd9f29003e89070be0c9fac
- ClassLoader
- ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
- Comparator
- CompilingMatcher
- Helper class to evaluate constraint by compiling and reusing the code to evaluate
- Bound
- Constraint
- Defines a constraint.
- MatchAllConstraint
- Defines the absence of a constraint.
- MatchNoneConstraint
- Blackhole of constraints, nothing escapes it
- MultiConstraint
- Defines a conjunctive or disjunctive set of constraints.
- Interval
- Intervals
- Helper class generating intervals from constraints
- Semver
- VersionParser
- Version parser.
- PhpConfig
- Process
- Process utility functions
- XdebugHandler
- Attribute
- Annotation that can be used to signal to the parser to check the attribute type during the parsing process.
- Attributes
- Annotation that can be used to signal to the parser to check the types of all declared attributes during the parsing process.
- Enum
- Annotation that can be used to signal to the parser to check the available values during the parsing process.
- IgnoreAnnotation
- Annotation that can be used to signal to the parser to ignore specific annotations during the parsing process.
- NamedArgumentConstructor
- Annotation that indicates that the annotated class should be constructed with a named argument call.
- Required
- Annotation that can be used to signal to the parser to check if that attribute is required during the parsing process.
- Target
- Annotation that can be used to signal to the parser to check the annotation target during the parsing process.
- Annotation
- Annotations class.
- AnnotationException
- Description of AnnotationException
- AnnotationReader
- A reader for docblock annotations.
- AnnotationRegistry
- CachedReader
- A cache aware annotation reader.
- DocLexer
- Simple lexer for docblock annotations.
- FileCacheReader
- File cache reader for annotations.
- ImplicitlyIgnoredAnnotationNames
- A list of annotations that are implicitly ignored during the parsing process.
- IndexedReader
- Allows the reader to be used in-place of Doctrine's reader.
- PhpParser
- Parses a file for namespaces/use/class declarations.
- PsrCachedReader
- A cache aware annotation reader.
- SimpleAnnotationReader
- Simple Annotation Reader.
- TokenParser
- Parses a file for namespaces/use/class declarations.
- InvalidArgumentException
- Exception for invalid arguments provided to the instantiator
- UnexpectedValueException
- Exception for given parameters causing invalid/unexpected state on instantiation
- Instantiator
- AbstractLexer
- Base class for writing simple lexers, i.e. for creating small DSLs.
- AbstractNoUselessElseFixer
- Config
- NullDiffer
- SebastianBergmannDiffer
- SebastianBergmannShortDiffer
- UnifiedDiffer
- Annotation
- This represents an entire annotation from a docblock.
- DocBlock
- This class represents a docblock.
- Line
- This represents a line of a docblock.
- Tag
- This represents a tag, as defined by the proposed PSR PHPDoc standard.
- TagComparator
- This class is responsible for comparing tags to see if they should be kept together, or kept apart.
- Event
- Finder
- Finder allows to build rules to find files and directories.
- AbstractIncrementOperatorFixer
- ArrayPushFixer
- BacktickToShellExecFixer
- EregToPregFixer
- MbStrFunctionsFixer
- NoAliasFunctionsFixer
- NoAliasLanguageConstructCallFixer
- NoMixedEchoPrintFixer
- PowToExponentiationFixer
- RandomApiMigrationFixer
- SetTypeToCastFixer
- ArraySyntaxFixer
- NoMultilineWhitespaceAroundDoubleArrowFixer
- NormalizeIndexBraceFixer
- NoTrailingCommaInSinglelineArrayFixer
- NoWhitespaceBeforeCommaInArrayFixer
- TrailingCommaInMultilineArrayFixer
- TrimArraySpacesFixer
- WhitespaceAfterCommaInArrayFixer
- BracesFixer
- Fixer for rules defined in PSR2 ¶4.1, ¶4.4, ¶5.
- EncodingFixer
- Fixer for rules defined in PSR1 ¶2.2.
- NonPrintableCharacterFixer
- Removes Zero-width space (ZWSP), Non-breaking space (NBSP) and other invisible unicode symbols.
- Psr0Fixer
- Psr4Fixer
- PsrAutoloadingFixer
- ConstantCaseFixer
- Fixer for constants case.
- LowercaseConstantsFixer
- Fixer for rules defined in PSR2 ¶2.5.
- LowercaseKeywordsFixer
- Fixer for rules defined in PSR2 ¶2.5.
- LowercaseStaticReferenceFixer
- MagicConstantCasingFixer
- MagicMethodCasingFixer
- NativeFunctionCasingFixer
- NativeFunctionTypeDeclarationCasingFixer
- CastSpacesFixer
- LowercaseCastFixer
- ModernizeTypesCastingFixer
- NoShortBoolCastFixer
- NoUnsetCastFixer
- ShortScalarCastFixer
- ClassAttributesSeparationFixer
- Make sure there is one blank line above and below class elements.
- ClassDefinitionFixer
- Fixer for part of the rules defined in PSR2 ¶4.1 Extends and Implements and PSR12 ¶8. Anonymous Classes.
- FinalClassFixer
- FinalInternalClassFixer
- FinalPublicMethodForAbstractClassFixer
- FinalStaticAccessFixer
- MethodSeparationFixer
- NoBlankLinesAfterClassOpeningFixer
- NoNullPropertyInitializationFixer
- NoPhp4ConstructorFixer
- NoUnneededFinalMethodFixer
- OrderedClassElementsFixer
- OrderedInterfacesFixer
- OrderedTraitsFixer
- ProtectedToPrivateFixer
- SelfAccessorFixer
- SelfStaticAccessorFixer
- SingleClassElementPerStatementFixer
- Fixer for rules defined in PSR2 ¶4.2.
- SingleTraitInsertPerStatementFixer
- VisibilityRequiredFixer
- Fixer for rules defined in PSR2 ¶4.3, ¶4.5.
- DateTimeImmutableFixer
- CommentToPhpdocFixer
- HashToSlashCommentFixer
- Changes single comments prefixes '#' with '//'.
- HeaderCommentFixer
- MultilineCommentOpeningClosingFixer
- NoEmptyCommentFixer
- NoTrailingWhitespaceInCommentFixer
- SingleLineCommentStyleFixer
- NativeConstantInvocationFixer
- ElseifFixer
- Fixer for rules defined in PSR2 ¶5.1.
- IncludeFixer
- NoAlternativeSyntaxFixer
- NoBreakCommentFixer
- Fixer for rule defined in PSR2 ¶5.2.
- NoSuperfluousElseifFixer
- NoTrailingCommaInListCallFixer
- NoUnneededControlParenthesesFixer
- NoUnneededCurlyBracesFixer
- NoUselessElseFixer
- SimplifiedIfReturnFixer
- SwitchCaseSemicolonToColonFixer
- Fixer for rules defined in PSR2 ¶5.2.
- SwitchCaseSpaceFixer
- Fixer for rules defined in PSR2 ¶5.2.
- SwitchContinueToBreakFixer
- TrailingCommaInMultilineFixer
- YodaStyleFixer
- DoctrineAnnotationArrayAssignmentFixer
- Forces the configured operator for assignment in arrays in Doctrine Annotations.
- DoctrineAnnotationBracesFixer
- Adds braces to Doctrine annotations when missing.
- DoctrineAnnotationIndentationFixer
- DoctrineAnnotationSpacesFixer
- Fixes spaces around commas and assignment operators in Doctrine annotations.
- CombineNestedDirnameFixer
- FopenFlagOrderFixer
- FopenFlagsFixer
- FunctionDeclarationFixer
- Fixer for rules defined in PSR2 generally (¶1 and ¶6).
- FunctionTypehintSpaceFixer
- ImplodeCallFixer
- LambdaNotUsedImportFixer
- MethodArgumentSpaceFixer
- Fixer for rules defined in PSR2 ¶4.4, ¶4.6.
- NativeFunctionInvocationFixer
- NoSpacesAfterFunctionNameFixer
- Fixer for rules defined in PSR2 ¶4.6.
- NoUnreachableDefaultArgumentValueFixer
- NoUselessSprintfFixer
- NullableTypeDeclarationForDefaultNullValueFixer
- PhpdocToParamTypeFixer
- PhpdocToPropertyTypeFixer
- PhpdocToReturnTypeFixer
- RegularCallableCallFixer
- ReturnTypeDeclarationFixer
- SingleLineThrowFixer
- StaticLambdaFixer
- UseArrowFunctionsFixer
- VoidReturnFixer
- FullyQualifiedStrictTypesFixer
- GlobalNamespaceImportFixer
- GroupImportFixer
- NoLeadingImportSlashFixer
- NoUnusedImportsFixer
- OrderedImportsFixer
- SingleImportPerStatementFixer
- Fixer for rules defined in PSR2 ¶3.
- SingleLineAfterImportsFixer
- Fixer for rules defined in PSR2 ¶3.
- ClassKeywordRemoveFixer
- CombineConsecutiveIssetsFixer
- CombineConsecutiveUnsetsFixer
- DeclareEqualNormalizeFixer
- DirConstantFixer
- ErrorSuppressionFixer
- ExplicitIndirectVariableFixer
- FunctionToConstantFixer
- IsNullFixer
- NoUnsetOnPropertyFixer
- SilencedDeprecationErrorFixer
- SingleSpaceAfterConstructFixer
- ListSyntaxFixer
- BlankLineAfterNamespaceFixer
- Fixer for rules defined in PSR2 ¶3.
- CleanNamespaceFixer
- NoBlankLinesBeforeNamespaceFixer
- NoLeadingNamespaceWhitespaceFixer
- SingleBlankLineBeforeNamespaceFixer
- NoHomoglyphNamesFixer
- AlignDoubleArrowFixerHelper
- AlignEqualsFixerHelper
- BinaryOperatorSpacesFixer
- ConcatSpaceFixer
- IncrementStyleFixer
- LogicalOperatorsFixer
- NewWithBracesFixer
- NotOperatorWithSpaceFixer
- NotOperatorWithSuccessorSpaceFixer
- ObjectOperatorWithoutWhitespaceFixer
- OperatorLinebreakFixer
- PreIncrementFixer
- StandardizeIncrementFixer
- StandardizeNotEqualsFixer
- TernaryOperatorSpacesFixer
- TernaryToElvisOperatorFixer
- TernaryToNullCoalescingFixer
- UnaryOperatorSpacesFixer
- AlignMultilineCommentFixer
- GeneralPhpdocAnnotationRemoveFixer
- GeneralPhpdocTagRenameFixer
- NoBlankLinesAfterPhpdocFixer
- NoEmptyPhpdocFixer
- NoSuperfluousPhpdocTagsFixer
- PhpdocAddMissingParamAnnotationFixer
- PhpdocAlignFixer
- PhpdocAnnotationWithoutDotFixer
- PhpdocIndentFixer
- PhpdocInlineTagFixer
- Fix inline tags and make inheritdoc tag always inline.
- PhpdocInlineTagNormalizerFixer
- PhpdocLineSpanFixer
- PhpdocNoAccessFixer
- PhpdocNoAliasTagFixer
- Case sensitive tag replace fixer (does not process inline tags like {@inheritdoc}).
- PhpdocNoEmptyReturnFixer
- PhpdocNoPackageFixer
- PhpdocNoUselessInheritdocFixer
- Remove inheritdoc tags from classy that does not inherit.
- PhpdocOrderByValueFixer
- PhpdocOrderFixer
- PhpdocReturnSelfReferenceFixer
- PhpdocScalarFixer
- PhpdocSeparationFixer
- PhpdocSingleLineVarSpacingFixer
- Fixer for part of rule defined in PSR5 ¶7.22.
- PhpdocSummaryFixer
- PhpdocTagCasingFixer
- PhpdocTagTypeFixer
- PhpdocToCommentFixer
- PhpdocTrimConsecutiveBlankLineSeparationFixer
- PhpdocTrimFixer
- PhpdocTypesFixer
- PhpdocTypesOrderFixer
- PhpdocVarAnnotationCorrectOrderFixer
- PhpdocVarWithoutNameFixer
- BlankLineAfterOpeningTagFixer
- EchoTagSyntaxFixer
- FullOpeningTagFixer
- Fixer for rules defined in PSR1 ¶2.1.
- LinebreakAfterOpeningTagFixer
- NoClosingTagFixer
- Fixer for rules defined in PSR2 ¶2.2.
- NoShortEchoTagFixer
- PhpUnitConstructFixer
- PhpUnitDedicateAssertFixer
- PhpUnitDedicateAssertInternalTypeFixer
- PhpUnitExpectationFixer
- PhpUnitFqcnAnnotationFixer
- PhpUnitInternalClassFixer
- PhpUnitMethodCasingFixer
- PhpUnitMockFixer
- PhpUnitMockShortWillReturnFixer
- PhpUnitNamespacedFixer
- PhpUnitNoExpectationAnnotationFixer
- PhpUnitOrderedCoversFixer
- PhpUnitSetUpTearDownVisibilityFixer
- PhpUnitSizeClassFixer
- PhpUnitStrictFixer
- PhpUnitTestAnnotationFixer
- PhpUnitTestCaseStaticMethodCallsFixer
- PhpUnitTestClassRequiresCoversFixer
- BlankLineBeforeReturnFixer
- NoUselessReturnFixer
- ReturnAssignmentFixer
- SimplifiedNullReturnFixer
- MultilineWhitespaceBeforeSemicolonsFixer
- NoEmptyStatementFixer
- NoMultilineWhitespaceBeforeSemicolonsFixer
- NoSinglelineWhitespaceBeforeSemicolonsFixer
- SemicolonAfterInstructionFixer
- SpaceAfterSemicolonFixer
- DeclareStrictTypesFixer
- StrictComparisonFixer
- StrictParamFixer
- EscapeImplicitBackslashesFixer
- ExplicitStringVariableFixer
- HeredocToNowdocFixer
- NoBinaryStringFixer
- NoTrailingWhitespaceInStringFixer
- SimpleToComplexStringVariableFixer
- SingleQuoteFixer
- StringLineEndingFixer
- Fixes the line endings in multi-line strings.
- ArrayIndentationFixer
- BlankLineBeforeStatementFixer
- CompactNullableTypehintFixer
- HeredocIndentationFixer
- IndentationTypeFixer
- Fixer for rules defined in PSR2 ¶2.4.
- LineEndingFixer
- Fixer for rules defined in PSR2 ¶2.2.
- MethodChainingIndentationFixer
- NoExtraBlankLinesFixer
- NoExtraConsecutiveBlankLinesFixer
- NoSpacesAroundOffsetFixer
- NoSpacesInsideParenthesisFixer
- Fixer for rules defined in PSR2 ¶4.3, ¶4.6, ¶5.
- NoTrailingWhitespaceFixer
- Fixer for rules defined in PSR2 ¶2.3.
- NoWhitespaceInBlankLineFixer
- SingleBlankLineAtEofFixer
- A file must always end with a line endings character.
- DeprecatedFixerOption
- FixerConfigurationResolver
- FixerOption
- FixerOptionBuilder
- CodeSample
- FixerDefinition
- VersionSpecification
- VersionSpecificCodeSample
- LintingException
- UnavailableLinterException
- Exception that is thrown when the chosen linter is not available on the environment.
- Runner
- AbstractFixerTestCase
- AbstractIntegrationTestCase
- AccessibleObject
- IntegrationCase
- CT
- Token
- Representation of single token.
- Tokens
- Collection of code tokens.
- WhitespacesFixerConfig
- TokensWithObservedTransformers
- Collection of code tokens.
- Client
- CookieJar
- Cookie jar that stores cookies as an array
- FileCookieJar
- Persists non-session cookies using a JSON formatted file
- SessionCookieJar
- Persists cookies in the client session
- SetCookie
- Set-Cookie object
- BadResponseException
- Exception when an HTTP error occurs (4xx or 5xx error)
- ClientException
- Exception when a client error is encountered (4xx codes)
- ConnectException
- Exception thrown when a connection cannot be established.
- InvalidArgumentException
- RequestException
- HTTP Request exception
- SeekException
- Exception thrown when a seek fails on a stream.
- ServerException
- Exception when a server error is encountered (5xx codes)
- TooManyRedirectsException
- HTTP Request exception
- TransferException
- CurlFactory
- Creates curl resources from a request
- CurlHandler
- HTTP handler that uses cURL easy handles as a transport layer.
- CurlMultiHandler
- Returns an asynchronous response using curl_multi_* functions.
- MockHandler
- Handler that returns responses or throw exceptions from a queue.
- Proxy
- Provides basic proxies for handlers.
- StreamHandler
- HTTP handler that uses PHP's HTTP stream wrapper.
- HandlerStack
- Creates a composed Guzzle handler function by stacking middlewares on top of an HTTP handler function.
- MessageFormatter
- Formats log messages using variable substitutions for requests, responses, and other transactional data.
- Middleware
- Functions used to create and wrap handlers with handler middleware.
- Pool
- Sends an iterator of requests concurrently using a capped pool size.
- PrepareBodyMiddleware
- Prepares requests that contain a body, adding the Content-Length, Content-Type, and Expect headers.
- RedirectMiddleware
- Request redirect middleware.
- RequestOptions
- This class contains a list of built-in Guzzle request options.
- RetryMiddleware
- Middleware that retries requests based on the boolean result of invoking the provided "decider" function.
- TransferStats
- Represents data at the point after it was transferred either successfully or after a network error.
- UriTemplate
- Expands URI templates. Userland implementation of PECL uri_template.
- Utils
- AggregateException
- Exception thrown when too many errors occur in the some() or any() methods.
- CancellationException
- Exception that is set as the reason for a promise that has been cancelled.
- Coroutine
- Creates a promise that is resolved using a generator that yields values or promises (somewhat similar to C#'s async keyword).
- Create
- Each
- EachPromise
- Represents a promise that iterates over many promises and invokes side-effect functions in the process.
- FulfilledPromise
- A promise that has been fulfilled.
- Is
- Promise
- Promises/A+ implementation that avoids recursion when possible.
- RejectedPromise
- A promise that has been rejected.
- RejectionException
- A special exception that is thrown when waiting on a rejected promise.
- TaskQueue
- A task queue that executes tasks in a FIFO order.
- Utils
- AppendStream
- Reads from multiple streams, one after the other.
- BufferStream
- Provides a buffer stream that can be written to to fill a buffer, and read from to remove bytes from the buffer.
- CachingStream
- Stream decorator that can cache previously read bytes from a sequentially read stream.
- DroppingStream
- Stream decorator that begins dropping data once the size of the underlying stream becomes too full.
- FnStream
- Compose stream implementations based on a hash of functions.
- Header
- InflateStream
- Uses PHP's zlib.inflate filter to inflate deflate or gzipped content.
- LazyOpenStream
- Lazily reads or writes to a file that is opened only after an IO operation take place on the stream.
- LimitStream
- Decorator used to return only a subset of a stream.
- Message
- MimeType
- MultipartStream
- Stream that when read returns bytes for a streaming multipart or multipart/form-data stream.
- NoSeekStream
- Stream decorator that prevents a stream from being seeked.
- PumpStream
- Provides a read only stream that pumps data from a PHP callable.
- Query
- Request
- PSR-7 request implementation.
- Response
- PSR-7 response implementation.
- Rfc7230
- ServerRequest
- Server-side HTTP request
- Stream
- PHP stream implementation.
- StreamWrapper
- Converts Guzzle streams into PHP stream resources.
- UploadedFile
- Uri
- PSR-7 URI implementation.
- UriNormalizer
- Provides methods to normalize and compare URIs.
- UriResolver
- Resolves a URI reference in the context of a base URI and the opposite way.
- Utils
- CachedClassLoggerFactory
- MessageFormatter
- NamedLoggerBase
- LocationLogger
- LoggerFactory
- LoggerMap
- NOPLogger
- NOPLoggerFactory
- CachedClassLoggerFactoryTest
- A TestCase defines the fixture to run multiple tests.
- BasicMDCAdapterTest
- A TestCase defines the fixture to run multiple tests.
- LoggingTest
- A TestCase defines the fixture to run multiple tests.
- MessageFormatterTest
- A TestCase defines the fixture to run multiple tests.
- LocationLoggerTest
- A TestCase defines the fixture to run multiple tests.
- LocationLoggerMock
- LoggerFactoryTest
- A TestCase defines the fixture to run multiple tests.
- LoggerFactoryChild
- MDCChild
- This class hides and serves as a substitute for the underlying logging system's MDC implementation.
- AbstractLazyMap
- CallbackLazyMap
- NullLazyMapEvent
- Performance tests for {@see \LazyMapTestAsset\NullLazyMap}
- AbstractLazyMapTest
- Tests for {@see \LazyMap\AbstractLazyMap}
- CallbackLazyMapTest
- Tests for {@see \LazyMap\CallbackLazyMap}
- NullLazyMapTest
- Tests for {@see \LazyMap\AbstractLazyMap} and {@see \LazyMapTestAsset\NullLazyMap}
- NullArrayBasedLazyMap
- Simple classical array-based map - used to simulate the overhead of a classical array-based solution
- NullLazyMap
- Example lazy map producing only null values
- ConfigurationException
- UnifiedDiffOutputBuilder
- Strict Unified diff output builder.
- Chunk
- Diff
- Differ
- Diff implementation.
- MemoryEfficientImplementation
- Memory-efficient implementation of longest common subsequence calculation.
- TimeEfficientImplementation
- Time-efficient implementation of longest common subsequence calculation.
- Line
- Parser
- Unified diff parser.
- Chunk
- Diff
- Differ
- Diff implementation.
- InvalidArgumentException
- Line
- MemoryEfficientLongestCommonSubsequenceCalculator
- AbstractChunkOutputBuilder
- DiffOnlyOutputBuilder
- Builds a diff string representation in a loose unified diff format listing only changes lines. Does not include line numbers.
- UnifiedDiffOutputBuilder
- Builds a diff string representation in unified diff format in chunks.
- Parser
- Unified diff parser.
- TimeEfficientLongestCommonSubsequenceCalculator
- Chunk
- Diff
- Differ
- Diff implementation.
- ConfigurationException
- InvalidArgumentException
- Line
- MemoryEfficientLongestCommonSubsequenceCalculator
- AbstractChunkOutputBuilder
- DiffOnlyOutputBuilder
- Builds a diff string representation in a loose unified diff format listing only changes lines. Does not include line numbers.
- StrictUnifiedDiffOutputBuilder
- Strict Unified diff output builder.
- UnifiedDiffOutputBuilder
- Builds a diff string representation in unified diff format in chunks.
- Parser
- Unified diff parser.
- TimeEfficientLongestCommonSubsequenceCalculator
- Fqsen
- Value Object for Fqsen.
- Location
- The location where an element occurs within a file.
- Description
- Object representing to description for a DocBlock.
- DescriptionFactory
- Creates a new Description object given a body of text.
- ExampleFinder
- Class used to find an example file's location based on a given ExampleDescriptor.
- Serializer
- Converts a DocBlock back from an object to a complete DocComment including Asterisks.
- StandardTagFactory
- Creates a Tag object given the contents of a tag.
- Author
- Reflection class for an {@}author tag in a Docblock.
- BaseTag
- Parses a tag definition for a DocBlock.
- Covers
- Reflection class for a @covers tag in a Docblock.
- Deprecated
- Reflection class for a {@}deprecated tag in a Docblock.
- Example
- Reflection class for a {@}example tag in a Docblock.
- AlignFormatter
- PassthroughFormatter
- Generic
- Parses a tag definition for a DocBlock.
- InvalidTag
- This class represents an exception during the tag creation
- Link
- Reflection class for a {@}link tag in a Docblock.
- Method
- Reflection class for an {@}method in a Docblock.
- Param
- Reflection class for the {@}param tag in a Docblock.
- Property
- Reflection class for a {@}property tag in a Docblock.
- PropertyRead
- Reflection class for a {@}property-read tag in a Docblock.
- PropertyWrite
- Reflection class for a {@}property-write tag in a Docblock.
- Fqsen
- Fqsen reference used by {@see \phpDocumentor\Reflection\DocBlock\Tags\See}
- Url
- Url reference used by {@see \phpDocumentor\Reflection\DocBlock\Tags\See}
- Return_
- Reflection class for a {@}return tag in a Docblock.
- See
- Reflection class for an {@}see tag in a Docblock.
- Since
- Reflection class for a {@}since tag in a Docblock.
- Source
- Reflection class for a {@}source tag in a Docblock.
- TagWithType
- Parses a tag definition for a DocBlock.
- Throws
- Reflection class for a {@}throws tag in a Docblock.
- Uses
- Reflection class for a {@}uses tag in a Docblock.
- Var_
- Reflection class for a {@}var tag in a Docblock.
- Version
- Reflection class for a {@}version tag in a Docblock.
- DocBlock
- DocBlockFactory
- PcreException
- Utils
- FqsenResolver
- Resolver for Fqsen using Context information
- False_
- Value Object representing the PseudoType 'False', which is a Boolean type.
- True_
- Value Object representing the PseudoType 'False', which is a Boolean type.
- TypeResolver
- AbstractList
- Represents a list of values. This is an abstract class for Array_ and Collection.
- AggregatedType
- Base class for aggregated types like Compound and Intersection
- Array_
- Represents an array type as described in the PSR-5, the PHPDoc Standard.
- Boolean
- Value Object representing a Boolean type.
- Callable_
- Value Object representing a Callable type.
- ClassString
- Value Object representing the type 'string'.
- Collection
- Represents a collection type as described in the PSR-5, the PHPDoc Standard.
- Compound
- Value Object representing a Compound Type.
- Context
- Provides information about the Context in which the DocBlock occurs that receives this context.
- ContextFactory
- Convenience class to create a Context for DocBlocks when not using the Reflection Component of phpDocumentor.
- Expression
- Represents an expression type as described in the PSR-5, the PHPDoc Standard.
- Float_
- Value Object representing a Float.
- Integer
- Value object representing Integer type
- Intersection
- Value Object representing a Compound Type.
- Iterable_
- Value Object representing iterable type
- Mixed_
- Value Object representing an unknown, or mixed, type.
- Null_
- Value Object representing a null value or type.
- Nullable
- Value Object representing a nullable type. The real type is wrapped.
- Object_
- Value Object representing an object.
- Parent_
- Value Object representing the 'parent' type.
- Resource_
- Value Object representing the 'resource' Type.
- Scalar
- Value Object representing the 'scalar' pseudo-type, which is either a string, integer, float or boolean.
- Self_
- Value Object representing the 'self' type.
- Static_
- Value Object representing the 'static' type.
- String_
- Value Object representing the type 'string'.
- This
- Value Object representing the '$this' pseudo-type.
- Void_
- Value Object representing the pseudo-type 'void'.
- ArgumentsWildcard
- Arguments wildcarding.
- AnyValuesToken
- Any values token.
- AnyValueToken
- Any single value token.
- ApproximateValueToken
- Approximate value token
- ArrayCountToken
- Array elements count token.
- ArrayEntryToken
- Array entry token.
- ArrayEveryEntryToken
- Array every entry token.
- CallbackToken
- Callback-verified token.
- ExactValueToken
- Exact value token.
- IdenticalValueToken
- Identical value token.
- LogicalAndToken
- Logical AND token.
- LogicalNotToken
- Logical NOT token.
- ObjectStateToken
- Object state-checker token.
- StringContainsToken
- String contains token.
- TypeToken
- Value type token.
- Argument
- Argument tokens shortcuts.
- Call
- Call object.
- CallCenter
- Calls receiver & manager.
- ClosureComparator
- Closure comparator.
- Factory
- Prophecy comparator factory.
- ProphecyComparator
- Compares objects for equality.
- CachedDoubler
- Cached class doubler.
- DisableConstructorPatch
- Disable constructor.
- HhvmExceptionPatch
- Exception patch for HHVM to remove the stubs from special methods
- KeywordPatch
- Remove method functionality from the double which will clash with php keywords.
- MagicCallPatch
- Discover Magical API using "@method" PHPDoc format.
- ProphecySubjectPatch
- Add Prophecy functionality to the double.
- ReflectionClassNewInstancePatch
- ReflectionClass::newInstance patch.
- SplFileInfoPatch
- SplFileInfo patch.
- ThrowablePatch
- TraversablePatch
- Traversable interface patch.
- Doubler
- Cached class doubler.
- ClassCodeGenerator
- Class code creator.
- ClassCreator
- Class creator.
- ClassMirror
- Class mirror.
- ArgumentNode
- Argument node.
- ClassNode
- Class node.
- MethodNode
- Method node.
- TypeHintReference
- Tells whether a keyword refers to a class or to a built-in type for the current version of php
- LazyDouble
- Lazy double.
- NameGenerator
- Name generator.
- UnexpectedCallException
- ClassCreatorException
- ClassMirrorException
- ClassNotFoundException
- DoubleException
- InterfaceNotFoundException
- MethodNotExtendableException
- MethodNotFoundException
- ReturnByReferenceException
- InvalidArgumentException
- AggregateException
- FailedPredictionException
- Basic failed prediction exception.
- NoCallsException
- UnexpectedCallsCountException
- UnexpectedCallsException
- MethodProphecyException
- ObjectProphecyException
- CallbackPrediction
- Callback prediction.
- CallPrediction
- Call prediction.
- CallTimesPrediction
- Prediction interface.
- NoCallsPrediction
- No calls prediction.
- CallbackPromise
- Callback promise.
- ReturnArgumentPromise
- Return argument promise.
- ReturnPromise
- Return promise.
- ThrowPromise
- Throw promise.
- MethodProphecy
- Method prophecy.
- ObjectProphecy
- Object prophecy.
- Revealer
- Basic prophecies revealer.
- Prophet
- Prophet creates prophecies.
- ExportUtil
- This class is a modification from sebastianbergmann/exporter
- StringUtil
- String utility.
- PHP_CodeCoverage_Driver_HHVM
- Driver for HHVM's code coverage functionality.
- PHP_CodeCoverage_Driver_PHPDBG
- Driver for PHPDBG's code coverage functionality.
- PHP_CodeCoverage_Driver_Xdebug
- Driver for Xdebug's code coverage functionality.
- PHP_CodeCoverage_Exception_UnintentionallyCoveredCode
- Exception that is raised when code is unintentionally covered.
- PHP_CodeCoverage_Exception
- Exception class for PHP_CodeCoverage component.
- PHP_CodeCoverage_Filter
- Filter for blacklisting and whitelisting of code coverage information.
- PHP_CodeCoverage_Report_Clover
- Generates a Clover XML logfile from an PHP_CodeCoverage object.
- PHP_CodeCoverage_Report_Crap4j
- PHP_CodeCoverage_Report_Factory
- Factory for PHP_CodeCoverage_Report_Node_* object graphs.
- PHP_CodeCoverage_Report_HTML_Renderer_Dashboard
- Renders the dashboard for a PHP_CodeCoverage_Report_Node_Directory node.
- PHP_CodeCoverage_Report_HTML_Renderer_Directory
- Renders a PHP_CodeCoverage_Report_Node_Directory node.
- PHP_CodeCoverage_Report_HTML_Renderer_File
- Renders a PHP_CodeCoverage_Report_Node_File node.
- PHP_CodeCoverage_Report_HTML_Renderer
- Base class for PHP_CodeCoverage_Report_Node renderers.
- PHP_CodeCoverage_Report_HTML
- Generates an HTML report from an PHP_CodeCoverage object.
- PHP_CodeCoverage_Report_Node_Directory
- Represents a directory in the code coverage information tree.
- PHP_CodeCoverage_Report_Node_File
- Represents a file in the code coverage information tree.
- PHP_CodeCoverage_Report_Node_Iterator
- Recursive iterator for PHP_CodeCoverage_Report_Node object graphs.
- PHP_CodeCoverage_Report_Node
- Base class for nodes in the code coverage information tree.
- PHP_CodeCoverage_Report_PHP
- Uses var_export() to write a PHP_CodeCoverage object to a file.
- PHP_CodeCoverage_Report_Text
- Generates human readable output from an PHP_CodeCoverage object.
- PHP_CodeCoverage_Report_XML_Directory
- PHP_CodeCoverage_Report_XML_File_Coverage
- PHP_CodeCoverage_Report_XML_File_Method
- PHP_CodeCoverage_Report_XML_File_Report
- PHP_CodeCoverage_Report_XML_File_Unit
- PHP_CodeCoverage_Report_XML_File
- PHP_CodeCoverage_Report_XML_Node
- PHP_CodeCoverage_Report_XML_Project
- PHP_CodeCoverage_Report_XML_Tests
- PHP_CodeCoverage_Report_XML_Totals
- PHP_CodeCoverage_Report_XML
- PHP_CodeCoverage_Util_InvalidArgumentHelper
- Factory for PHP_CodeCoverage_Exception objects that are used to describe invalid arguments passed to a function or method.
- PHP_CodeCoverage_Util
- Utility methods.
- PHP_CodeCoverage
- Provides collection functionality for PHP code coverage information.
- BankAccount
- BankAccountTest
- A TestCase defines the fixture to run multiple tests.
- CoverageClassExtendedTest
- A TestCase defines the fixture to run multiple tests.
- CoverageClassTest
- A TestCase defines the fixture to run multiple tests.
- CoverageFunctionParenthesesTest
- A TestCase defines the fixture to run multiple tests.
- CoverageFunctionParenthesesWhitespaceTest
- A TestCase defines the fixture to run multiple tests.
- CoverageFunctionTest
- A TestCase defines the fixture to run multiple tests.
- CoverageMethodOneLineAnnotationTest
- A TestCase defines the fixture to run multiple tests.
- CoverageMethodParenthesesTest
- A TestCase defines the fixture to run multiple tests.
- CoverageMethodParenthesesWhitespaceTest
- A TestCase defines the fixture to run multiple tests.
- CoverageMethodTest
- A TestCase defines the fixture to run multiple tests.
- CoverageNoneTest
- A TestCase defines the fixture to run multiple tests.
- CoverageNothingTest
- A TestCase defines the fixture to run multiple tests.
- CoverageNotPrivateTest
- A TestCase defines the fixture to run multiple tests.
- CoverageNotProtectedTest
- A TestCase defines the fixture to run multiple tests.
- CoverageNotPublicTest
- A TestCase defines the fixture to run multiple tests.
- CoveragePrivateTest
- A TestCase defines the fixture to run multiple tests.
- CoverageProtectedTest
- A TestCase defines the fixture to run multiple tests.
- CoveragePublicTest
- A TestCase defines the fixture to run multiple tests.
- CoverageTwoDefaultClassAnnotations
- CoveredParentClass
- CoveredClass
- NamespaceCoverageClassExtendedTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoverageClassTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoverageCoversClassPublicTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoverageCoversClassTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoverageMethodTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoverageNotPrivateTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoverageNotProtectedTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoverageNotPublicTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoveragePrivateTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoverageProtectedTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoveragePublicTest
- A TestCase defines the fixture to run multiple tests.
- CoveredParentClass
- CoveredClass
- NotExistingCoveredElementTest
- A TestCase defines the fixture to run multiple tests.
- CoveredClassWithAnonymousFunctionInStaticMethod
- Foo
- Bar
- source_with_namespace
- Represents foo.
- Foo
- Foo
- Represents foo.
- PHP_CodeCoverage_FilterTest
- Tests for the PHP_CodeCoverage_Filter class.
- PHP_CodeCoverage_Report_CloverTest
- Tests for the PHP_CodeCoverage_Report_Clover class.
- PHP_CodeCoverage_Report_FactoryTest
- Tests for the PHP_CodeCoverage_Report_Factory class.
- PHP_CodeCoverage_UtilTest
- Tests for the PHP_CodeCoverage_Util class.
- PHP_CodeCoverageTest
- Tests for the PHP_CodeCoverage class.
- PHP_CodeCoverage_TestCase
- Abstract base class for test case classes.
- File_Iterator_Facade
- Façade implementation that uses File_Iterator_Factory to create a File_Iterator that operates on an AppendIterator that contains an RecursiveDirectoryIterator for each given path. The list of unique files is returned as an array.
- File_Iterator_Factory
- Factory Method implementation that creates a File_Iterator that operates on an AppendIterator that contains an RecursiveDirectoryIterator for each given path.
- File_Iterator
- FilterIterator implementation that filters files based on prefix(es) and/or suffix(es). Hidden files and files from hidden directories are also filtered.
- Text_Template
- A simple template engine.
- PHP_Timer
- Utility class for timing.
- PHP_TimerTest
- A TestCase defines the fixture to run multiple tests.
- PHP_Token_Stream_CachingFactory
- A caching factory for token stream objects.
- PHP_Token_Stream
- A stream of PHP tokens.
- PHP_Token
- A PHP token.
- PHP_TokenWithScope
- A PHP token.
- PHP_TokenWithScopeAndVisibility
- A PHP token.
- PHP_Token_Includes
- A PHP token.
- PHP_Token_FUNCTION
- A PHP token.
- PHP_Token_INTERFACE
- A PHP token.
- PHP_Token_ABSTRACT
- A PHP token.
- PHP_Token_AMPERSAND
- A PHP token.
- PHP_Token_AND_EQUAL
- A PHP token.
- PHP_Token_ARRAY
- A PHP token.
- PHP_Token_ARRAY_CAST
- A PHP token.
- PHP_Token_AS
- A PHP token.
- PHP_Token_AT
- A PHP token.
- PHP_Token_BACKTICK
- A PHP token.
- PHP_Token_BAD_CHARACTER
- A PHP token.
- PHP_Token_BOOLEAN_AND
- A PHP token.
- PHP_Token_BOOLEAN_OR
- A PHP token.
- PHP_Token_BOOL_CAST
- A PHP token.
- PHP_Token_BREAK
- A PHP token.
- PHP_Token_CARET
- A PHP token.
- PHP_Token_CASE
- A PHP token.
- PHP_Token_CATCH
- A PHP token.
- PHP_Token_CHARACTER
- A PHP token.
- PHP_Token_CLASS
- A PHP token.
- PHP_Token_CLASS_C
- A PHP token.
- PHP_Token_CLASS_NAME_CONSTANT
- A PHP token.
- PHP_Token_CLONE
- A PHP token.
- PHP_Token_CLOSE_BRACKET
- A PHP token.
- PHP_Token_CLOSE_CURLY
- A PHP token.
- PHP_Token_CLOSE_SQUARE
- A PHP token.
- PHP_Token_CLOSE_TAG
- A PHP token.
- PHP_Token_COLON
- A PHP token.
- PHP_Token_COMMA
- A PHP token.
- PHP_Token_COMMENT
- A PHP token.
- PHP_Token_CONCAT_EQUAL
- A PHP token.
- PHP_Token_CONST
- A PHP token.
- PHP_Token_CONSTANT_ENCAPSED_STRING
- A PHP token.
- PHP_Token_CONTINUE
- A PHP token.
- PHP_Token_CURLY_OPEN
- A PHP token.
- PHP_Token_DEC
- A PHP token.
- PHP_Token_DECLARE
- A PHP token.
- PHP_Token_DEFAULT
- A PHP token.
- PHP_Token_DIV
- A PHP token.
- PHP_Token_DIV_EQUAL
- A PHP token.
- PHP_Token_DNUMBER
- A PHP token.
- PHP_Token_DO
- A PHP token.
- PHP_Token_DOC_COMMENT
- A PHP token.
- PHP_Token_DOLLAR
- A PHP token.
- PHP_Token_DOLLAR_OPEN_CURLY_BRACES
- A PHP token.
- PHP_Token_DOT
- A PHP token.
- PHP_Token_DOUBLE_ARROW
- A PHP token.
- PHP_Token_DOUBLE_CAST
- A PHP token.
- PHP_Token_DOUBLE_COLON
- A PHP token.
- PHP_Token_DOUBLE_QUOTES
- A PHP token.
- PHP_Token_ECHO
- A PHP token.
- PHP_Token_ELSE
- A PHP token.
- PHP_Token_ELSEIF
- A PHP token.
- PHP_Token_EMPTY
- A PHP token.
- PHP_Token_ENCAPSED_AND_WHITESPACE
- A PHP token.
- PHP_Token_ENDDECLARE
- A PHP token.
- PHP_Token_ENDFOR
- A PHP token.
- PHP_Token_ENDFOREACH
- A PHP token.
- PHP_Token_ENDIF
- A PHP token.
- PHP_Token_ENDSWITCH
- A PHP token.
- PHP_Token_ENDWHILE
- A PHP token.
- PHP_Token_END_HEREDOC
- A PHP token.
- PHP_Token_EQUAL
- A PHP token.
- PHP_Token_EVAL
- A PHP token.
- PHP_Token_EXCLAMATION_MARK
- A PHP token.
- PHP_Token_EXIT
- A PHP token.
- PHP_Token_EXTENDS
- A PHP token.
- PHP_Token_FILE
- A PHP token.
- PHP_Token_FINAL
- A PHP token.
- PHP_Token_FOR
- A PHP token.
- PHP_Token_FOREACH
- A PHP token.
- PHP_Token_FUNC_C
- A PHP token.
- PHP_Token_GLOBAL
- A PHP token.
- PHP_Token_GT
- A PHP token.
- PHP_Token_IF
- A PHP token.
- PHP_Token_IMPLEMENTS
- A PHP token.
- PHP_Token_INC
- A PHP token.
- PHP_Token_INCLUDE
- A PHP token.
- PHP_Token_INCLUDE_ONCE
- A PHP token.
- PHP_Token_INLINE_HTML
- A PHP token.
- PHP_Token_INSTANCEOF
- A PHP token.
- PHP_Token_INT_CAST
- A PHP token.
- PHP_Token_ISSET
- A PHP token.
- PHP_Token_IS_EQUAL
- A PHP token.
- PHP_Token_IS_GREATER_OR_EQUAL
- A PHP token.
- PHP_Token_IS_IDENTICAL
- A PHP token.
- PHP_Token_IS_NOT_EQUAL
- A PHP token.
- PHP_Token_IS_NOT_IDENTICAL
- A PHP token.
- PHP_Token_IS_SMALLER_OR_EQUAL
- A PHP token.
- PHP_Token_LINE
- A PHP token.
- PHP_Token_LIST
- A PHP token.
- PHP_Token_LNUMBER
- A PHP token.
- PHP_Token_LOGICAL_AND
- A PHP token.
- PHP_Token_LOGICAL_OR
- A PHP token.
- PHP_Token_LOGICAL_XOR
- A PHP token.
- PHP_Token_LT
- A PHP token.
- PHP_Token_METHOD_C
- A PHP token.
- PHP_Token_MINUS
- A PHP token.
- PHP_Token_MINUS_EQUAL
- A PHP token.
- PHP_Token_MOD_EQUAL
- A PHP token.
- PHP_Token_MULT
- A PHP token.
- PHP_Token_MUL_EQUAL
- A PHP token.
- PHP_Token_NEW
- A PHP token.
- PHP_Token_NUM_STRING
- A PHP token.
- PHP_Token_OBJECT_CAST
- A PHP token.
- PHP_Token_OBJECT_OPERATOR
- A PHP token.
- PHP_Token_OPEN_BRACKET
- A PHP token.
- PHP_Token_OPEN_CURLY
- A PHP token.
- PHP_Token_OPEN_SQUARE
- A PHP token.
- PHP_Token_OPEN_TAG
- A PHP token.
- PHP_Token_OPEN_TAG_WITH_ECHO
- A PHP token.
- PHP_Token_OR_EQUAL
- A PHP token.
- PHP_Token_PAAMAYIM_NEKUDOTAYIM
- A PHP token.
- PHP_Token_PERCENT
- A PHP token.
- PHP_Token_PIPE
- A PHP token.
- PHP_Token_PLUS
- A PHP token.
- PHP_Token_PLUS_EQUAL
- A PHP token.
- PHP_Token_PRINT
- A PHP token.
- PHP_Token_PRIVATE
- A PHP token.
- PHP_Token_PROTECTED
- A PHP token.
- PHP_Token_PUBLIC
- A PHP token.
- PHP_Token_QUESTION_MARK
- A PHP token.
- PHP_Token_REQUIRE
- A PHP token.
- PHP_Token_REQUIRE_ONCE
- A PHP token.
- PHP_Token_RETURN
- A PHP token.
- PHP_Token_SEMICOLON
- A PHP token.
- PHP_Token_SL
- A PHP token.
- PHP_Token_SL_EQUAL
- A PHP token.
- PHP_Token_SR
- A PHP token.
- PHP_Token_SR_EQUAL
- A PHP token.
- PHP_Token_START_HEREDOC
- A PHP token.
- PHP_Token_STATIC
- A PHP token.
- PHP_Token_STRING
- A PHP token.
- PHP_Token_STRING_CAST
- A PHP token.
- PHP_Token_STRING_VARNAME
- A PHP token.
- PHP_Token_SWITCH
- A PHP token.
- PHP_Token_THROW
- A PHP token.
- PHP_Token_TILDE
- A PHP token.
- PHP_Token_TRY
- A PHP token.
- PHP_Token_UNSET
- A PHP token.
- PHP_Token_UNSET_CAST
- A PHP token.
- PHP_Token_USE
- A PHP token.
- PHP_Token_USE_FUNCTION
- A PHP token.
- PHP_Token_VAR
- A PHP token.
- PHP_Token_VARIABLE
- A PHP token.
- PHP_Token_WHILE
- A PHP token.
- PHP_Token_WHITESPACE
- A PHP token.
- PHP_Token_XOR_EQUAL
- A PHP token.
- PHP_Token_HALT_COMPILER
- A PHP token.
- PHP_Token_DIR
- A PHP token.
- PHP_Token_GOTO
- A PHP token.
- PHP_Token_NAMESPACE
- A PHP token.
- PHP_Token_NS_C
- A PHP token.
- PHP_Token_NS_SEPARATOR
- A PHP token.
- PHP_Token_CALLABLE
- A PHP token.
- PHP_Token_INSTEADOF
- A PHP token.
- PHP_Token_TRAIT
- A PHP token.
- PHP_Token_TRAIT_C
- A PHP token.
- PHP_Token_FINALLY
- A PHP token.
- PHP_Token_YIELD
- A PHP token.
- PHP_Token_ELLIPSIS
- A PHP token.
- PHP_Token_POW
- A PHP token.
- PHP_Token_POW_EQUAL
- A PHP token.
- PHP_Token_COALESCE
- A PHP token.
- PHP_Token_SPACESHIP
- A PHP token.
- PHP_Token_YIELD_FROM
- A PHP token.
- PHP_Token_ASYNC
- A PHP token.
- PHP_Token_AWAIT
- A PHP token.
- PHP_Token_COMPILER_HALT_OFFSET
- A PHP token.
- PHP_Token_ENUM
- A PHP token.
- PHP_Token_EQUALS
- A PHP token.
- PHP_Token_IN
- A PHP token.
- PHP_Token_JOIN
- A PHP token.
- PHP_Token_LAMBDA_ARROW
- A PHP token.
- PHP_Token_LAMBDA_CP
- A PHP token.
- PHP_Token_LAMBDA_OP
- A PHP token.
- PHP_Token_ONUMBER
- A PHP token.
- PHP_Token_NULLSAFE_OBJECT_OPERATOR
- A PHP token.
- PHP_Token_SHAPE
- A PHP token.
- PHP_Token_SUPER
- A PHP token.
- PHP_Token_TYPE
- A PHP token.
- PHP_Token_TYPELIST_GT
- A PHP token.
- PHP_Token_TYPELIST_LT
- A PHP token.
- PHP_Token_WHERE
- A PHP token.
- PHP_Token_XHP_ATTRIBUTE
- A PHP token.
- PHP_Token_XHP_CATEGORY
- A PHP token.
- PHP_Token_XHP_CATEGORY_LABEL
- A PHP token.
- PHP_Token_XHP_CHILDREN
- A PHP token.
- PHP_Token_XHP_LABEL
- A PHP token.
- PHP_Token_XHP_REQUIRED
- A PHP token.
- PHP_Token_XHP_TAG_GT
- A PHP token.
- PHP_Token_XHP_TAG_LT
- A PHP token.
- PHP_Token_XHP_TEXT
- A PHP token.
- class_with_method_that_declares_anonymous_class
- Test
- Baz
- Extender
- TestClass
- TestClass
- Foo
- TestClass
- Foo
- TestClassInBar
- TestClassInBaz
- TestClassInBar
- TestClassInBaz
- Foo
- Some comment
- A
- c
- a
- c
- PHPUnit_Extensions_GroupTestSuite
- We have a TestSuite object A.
- PHPUnit_Extensions_PhptTestCase
- Runner for PHPT test cases.
- PHPUnit_Extensions_PhptTestSuite
- Suite for .phpt test cases.
- PHPUnit_Extensions_RepeatedTest
- A Decorator that runs a test repeatedly.
- PHPUnit_Extensions_TestDecorator
- A Decorator for Tests.
- PHPUnit_Extensions_TicketListener
- Base class for test listeners that interact with an issue tracker.
- Assert
- A set of assertion methods.
- AssertionFailedError
- Thrown when an assertion failed.
- BaseTestListener
- An empty Listener that can be extended to implement TestListener with just a few lines of code.
- TestCase
- A TestCase defines the fixture to run multiple tests.
- TestSuite
- A TestSuite is a composite of Tests. It runs a collection of test cases.
- PHPUnit_Framework_Assert
- A set of assertion methods.
- PHPUnit_Framework_AssertionFailedError
- Thrown when an assertion failed.
- PHPUnit_Framework_BaseTestListener
- An empty Listener that can be extended to implement TestListener with just a few lines of code.
- PHPUnit_Framework_CodeCoverageException
- Base class for all PHPUnit Framework exceptions.
- PHPUnit_Framework_Constraint_And
- Logical AND.
- PHPUnit_Framework_Constraint_ArrayHasKey
- Constraint that asserts that the array it is evaluated for has a given key.
- PHPUnit_Framework_Constraint_ArraySubset
- Constraint that asserts that the array it is evaluated for has a specified subset.
- PHPUnit_Framework_Constraint_Attribute
- Abstract base class for constraints which can be applied to any value.
- PHPUnit_Framework_Constraint_Callback
- Constraint that evaluates against a specified closure.
- PHPUnit_Framework_Constraint_ClassHasAttribute
- Constraint that asserts that the class it is evaluated for has a given attribute.
- PHPUnit_Framework_Constraint_ClassHasStaticAttribute
- Constraint that asserts that the class it is evaluated for has a given static attribute.
- PHPUnit_Framework_Constraint_Composite
- Abstract base class for constraints which can be applied to any value.
- PHPUnit_Framework_Constraint_Count
- Abstract base class for constraints which can be applied to any value.
- PHPUnit_Framework_Constraint_Exception
- Abstract base class for constraints which can be applied to any value.
- PHPUnit_Framework_Constraint_ExceptionCode
- Abstract base class for constraints which can be applied to any value.
- PHPUnit_Framework_Constraint_ExceptionMessage
- Abstract base class for constraints which can be applied to any value.
- PHPUnit_Framework_Constraint_ExceptionMessageRegExp
- Abstract base class for constraints which can be applied to any value.
- PHPUnit_Framework_Constraint_FileExists
- Constraint that checks if the file(name) that it is evaluated for exists.
- PHPUnit_Framework_Constraint_GreaterThan
- Constraint that asserts that the value it is evaluated for is greater than a given value.
- PHPUnit_Framework_Constraint_IsAnything
- Constraint that accepts any input value.
- PHPUnit_Framework_Constraint_IsEmpty
- Constraint that checks whether a variable is empty().
- PHPUnit_Framework_Constraint_IsEqual
- Constraint that checks if one value is equal to another.
- PHPUnit_Framework_Constraint_IsFalse
- Constraint that accepts false.
- PHPUnit_Framework_Constraint_IsIdentical
- Constraint that asserts that one value is identical to another.
- PHPUnit_Framework_Constraint_IsInstanceOf
- Constraint that asserts that the object it is evaluated for is an instance of a given class.
- PHPUnit_Framework_Constraint_IsJson
- Constraint that asserts that a string is valid JSON.
- PHPUnit_Framework_Constraint_IsNull
- Constraint that accepts null.
- PHPUnit_Framework_Constraint_IsTrue
- Constraint that accepts true.
- PHPUnit_Framework_Constraint_IsType
- Constraint that asserts that the value it is evaluated for is of a specified type.
- PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider
- Provides human readable messages for each JSON error.
- PHPUnit_Framework_Constraint_JsonMatches
- Asserts whether or not two JSON objects are equal.
- PHPUnit_Framework_Constraint_LessThan
- Constraint that asserts that the value it is evaluated for is less than a given value.
- PHPUnit_Framework_Constraint_Not
- Logical NOT.
- PHPUnit_Framework_Constraint_ObjectHasAttribute
- Constraint that asserts that the object it is evaluated for has a given attribute.
- PHPUnit_Framework_Constraint_Or
- Logical OR.
- PHPUnit_Framework_Constraint_PCREMatch
- Constraint that asserts that the string it is evaluated for matches a regular expression.
- PHPUnit_Framework_Constraint_SameSize
- Abstract base class for constraints which can be applied to any value.
- PHPUnit_Framework_Constraint_StringContains
- Constraint that asserts that the string it is evaluated for contains a given string.
- PHPUnit_Framework_Constraint_StringEndsWith
- Constraint that asserts that the string it is evaluated for ends with a given suffix.
- PHPUnit_Framework_Constraint_StringMatches
- Constraint that asserts that the string it is evaluated for matches a regular expression.
- PHPUnit_Framework_Constraint_StringStartsWith
- Constraint that asserts that the string it is evaluated for begins with a given prefix.
- PHPUnit_Framework_Constraint_TraversableContains
- Constraint that asserts that the Traversable it is applied to contains a given value.
- PHPUnit_Framework_Constraint_TraversableContainsOnly
- Constraint that asserts that the Traversable it is applied to contains only values of a given type.
- PHPUnit_Framework_Constraint_Xor
- Logical XOR.
- PHPUnit_Framework_Constraint
- Abstract base class for constraints which can be applied to any value.
- PHPUnit_Framework_Error_Deprecated
- Wrapper for PHP deprecated errors.
- PHPUnit_Framework_Error_Notice
- Wrapper for PHP notices.
- PHPUnit_Framework_Error_Warning
- Wrapper for PHP warnings.
- PHPUnit_Framework_Error
- Wrapper for PHP errors.
- PHPUnit_Framework_Exception
- Base class for all PHPUnit Framework exceptions.
- PHPUnit_Framework_ExceptionWrapper
- Wraps Exceptions thrown by code under test.
- PHPUnit_Framework_ExpectationFailedException
- Exception for expectations which failed their check.
- PHPUnit_Framework_IncompleteTestCase
- An incomplete test case
- PHPUnit_Framework_IncompleteTestError
- Extension to PHPUnit_Framework_AssertionFailedError to mark the special case of an incomplete test.
- PHPUnit_Framework_InvalidCoversTargetError
- Extension to PHPUnit_Framework_AssertionFailedError to mark the special case of a test that is skipped because of an invalid @covers annotation.
- PHPUnit_Framework_InvalidCoversTargetException
- Base class for all PHPUnit Framework exceptions.
- PHPUnit_Framework_OutputError
- Extension to PHPUnit_Framework_AssertionFailedError to mark the special case of a test that printed output.
- PHPUnit_Framework_RiskyTestError
- Extension to PHPUnit_Framework_AssertionFailedError to mark the special case of a risky test.
- PHPUnit_Framework_SkippedTestCase
- A skipped test case
- PHPUnit_Framework_SkippedTestError
- Extension to PHPUnit_Framework_AssertionFailedError to mark the special case of a skipped test.
- PHPUnit_Framework_SkippedTestSuiteError
- Extension to PHPUnit_Framework_AssertionFailedError to mark the special case of a skipped test suite.
- PHPUnit_Framework_SyntheticError
- Creates a synthetic failed assertion.
- PHPUnit_Framework_TestCase
- A TestCase defines the fixture to run multiple tests.
- PHPUnit_Framework_TestFailure
- A TestFailure collects a failed test together with the caught exception.
- PHPUnit_Framework_TestResult
- A TestResult collects the results of executing a test case.
- PHPUnit_Framework_TestSuite_DataProvider
- A TestSuite is a composite of Tests. It runs a collection of test cases.
- PHPUnit_Framework_TestSuite
- A TestSuite is a composite of Tests. It runs a collection of test cases.
- PHPUnit_Framework_UnintentionallyCoveredCodeError
- Extension to PHPUnit_Framework_AssertionFailedError to mark the special case of a test test that unintentionally covers code.
- PHPUnit_Framework_Warning
- A warning.
- PHPUnit_Runner_BaseTestRunner
- Base class for all test runners.
- PHPUnit_Runner_Exception
- PHPUnit_Runner_Filter_Factory
- PHPUnit_Runner_Filter_Group_Exclude
- PHPUnit_Runner_Filter_Group_Include
- PHPUnit_Runner_Filter_GroupFilterIterator
- PHPUnit_Runner_Filter_Test
- PHPUnit_Runner_StandardTestSuiteLoader
- The standard test suite loader.
- PHPUnit_Runner_Version
- This class defines the current version of PHPUnit.
- PHPUnit_TextUI_Command
- A TestRunner for the Command Line Interface (CLI) PHP SAPI Module.
- PHPUnit_TextUI_ResultPrinter
- Prints the result of a TextUI TestRunner run.
- PHPUnit_TextUI_TestRunner
- A TestRunner for the Command Line Interface (CLI) PHP SAPI Module.
- PHPUnit_Util_Blacklist
- Utility class for blacklisting PHPUnit's own source code files.
- PHPUnit_Util_Configuration
- Wrapper for the PHPUnit XML configuration file.
- PHPUnit_Util_ErrorHandler
- Error handler that converts PHP errors and warnings to exceptions.
- PHPUnit_Util_Fileloader
- Utility methods to load PHP sourcefiles.
- PHPUnit_Util_Filesystem
- Filesystem helpers.
- PHPUnit_Util_Filter
- Utility class for code filtering.
- PHPUnit_Util_Getopt
- Command-line options parsing class.
- PHPUnit_Util_GlobalState
- PHPUnit_Util_InvalidArgumentHelper
- Factory for PHPUnit_Framework_Exception objects that are used to describe invalid arguments passed to a function or method.
- PHPUnit_Util_Log_JSON
- A TestListener that generates JSON messages.
- PHPUnit_Util_Log_JUnit
- A TestListener that generates a logfile of the test execution in XML markup.
- PHPUnit_Util_Log_TAP
- A TestListener that generates a logfile of the test execution using the Test Anything Protocol (TAP).
- PHPUnit_Util_PHP_Default
- Default utility for PHP sub-processes.
- PHPUnit_Util_PHP_Windows
- Windows utility for PHP sub-processes.
- PHPUnit_Util_PHP
- Utility methods for PHP sub-processes.
- PHPUnit_Util_Printer
- Utility class that can print to STDOUT or write to a file.
- PHPUnit_Util_Regex
- Error handler that converts PHP errors and warnings to exceptions.
- PHPUnit_Util_String
- String helpers.
- PHPUnit_Util_Test
- Test helpers.
- PHPUnit_Util_TestDox_NamePrettifier
- Prettifies class and method names for use in TestDox documentation.
- PHPUnit_Util_TestDox_ResultPrinter_HTML
- Prints TestDox documentation in HTML format.
- PHPUnit_Util_TestDox_ResultPrinter_Text
- Prints TestDox documentation in text format.
- PHPUnit_Util_TestDox_ResultPrinter
- Base class for printers of TestDox documentation.
- PHPUnit_Util_TestSuiteIterator
- Iterator for test suites.
- PHPUnit_Util_Type
- Utility class for textual type (and value) representation.
- PHPUnit_Util_XML
- XML helpers.
- AbstractTest
- A TestCase defines the fixture to run multiple tests.
- Author
- An author.
- BankAccountException
- BankAccount
- A bank account.
- BankAccountTest
- Tests for the BankAccount class.
- BankAccountWithCustomExtensionTest
- Tests for the BankAccount class.
- BaseTestListenerSample
- An empty Listener that can be extended to implement TestListener with just a few lines of code.
- BeforeAndAfterTest
- A TestCase defines the fixture to run multiple tests.
- BeforeClassAndAfterClassTest
- A TestCase defines the fixture to run multiple tests.
- Book
- A book.
- Calculator
- ChangeCurrentWorkingDirectoryTest
- A TestCase defines the fixture to run multiple tests.
- ParentClassWithPrivateAttributes
- ParentClassWithProtectedAttributes
- ClassWithNonPublicAttributes
- ClassWithScalarTypeDeclarations
- ClassWithToString
- A class with a __toString() method.
- ConcreteWithMyCustomExtensionTest
- A TestCase defines the fixture to run multiple tests.
- ConcreteTest
- A TestCase defines the fixture to run multiple tests.
- CoverageClassExtendedTest
- A TestCase defines the fixture to run multiple tests.
- CoverageClassTest
- A TestCase defines the fixture to run multiple tests.
- CoverageFunctionParenthesesTest
- A TestCase defines the fixture to run multiple tests.
- CoverageFunctionParenthesesWhitespaceTest
- A TestCase defines the fixture to run multiple tests.
- CoverageFunctionTest
- A TestCase defines the fixture to run multiple tests.
- CoverageMethodOneLineAnnotationTest
- A TestCase defines the fixture to run multiple tests.
- CoverageMethodParenthesesTest
- A TestCase defines the fixture to run multiple tests.
- CoverageMethodParenthesesWhitespaceTest
- A TestCase defines the fixture to run multiple tests.
- CoverageMethodTest
- A TestCase defines the fixture to run multiple tests.
- CoverageNamespacedFunctionTest
- A TestCase defines the fixture to run multiple tests.
- CoverageNoneTest
- A TestCase defines the fixture to run multiple tests.
- CoverageNothingTest
- A TestCase defines the fixture to run multiple tests.
- CoverageNotPrivateTest
- A TestCase defines the fixture to run multiple tests.
- CoverageNotProtectedTest
- A TestCase defines the fixture to run multiple tests.
- CoverageNotPublicTest
- A TestCase defines the fixture to run multiple tests.
- CoveragePrivateTest
- A TestCase defines the fixture to run multiple tests.
- CoverageProtectedTest
- A TestCase defines the fixture to run multiple tests.
- CoveragePublicTest
- A TestCase defines the fixture to run multiple tests.
- CoverageTwoDefaultClassAnnotations
- CoveredParentClass
- CoveredClass
- CustomPrinter
- Prints the result of a TextUI TestRunner run.
- DataProviderDebugTest
- A TestCase defines the fixture to run multiple tests.
- DataProviderFilterTest
- A TestCase defines the fixture to run multiple tests.
- DataProviderIncompleteTest
- A TestCase defines the fixture to run multiple tests.
- DataProviderSkippedTest
- A TestCase defines the fixture to run multiple tests.
- DataProviderTest
- A TestCase defines the fixture to run multiple tests.
- DependencyFailureTest
- A TestCase defines the fixture to run multiple tests.
- DependencySuccessTest
- A TestCase defines the fixture to run multiple tests.
- DependencyTestSuite
- DoubleTestCase
- DummyException
- EmptyTestCaseTest
- A TestCase defines the fixture to run multiple tests.
- ExceptionInAssertPostConditionsTest
- A TestCase defines the fixture to run multiple tests.
- ExceptionInAssertPreConditionsTest
- A TestCase defines the fixture to run multiple tests.
- ExceptionInSetUpTest
- A TestCase defines the fixture to run multiple tests.
- ExceptionInTearDownTest
- A TestCase defines the fixture to run multiple tests.
- ExceptionInTest
- A TestCase defines the fixture to run multiple tests.
- ExceptionNamespaceTest
- A TestCase defines the fixture to run multiple tests.
- ExceptionStackTest
- A TestCase defines the fixture to run multiple tests.
- ExceptionTest
- A TestCase defines the fixture to run multiple tests.
- Failure
- A TestCase defines the fixture to run multiple tests.
- FailureTest
- A TestCase defines the fixture to run multiple tests.
- FatalTest
- A TestCase defines the fixture to run multiple tests.
- IncompleteTest
- A TestCase defines the fixture to run multiple tests.
- InheritanceA
- A TestCase defines the fixture to run multiple tests.
- InheritanceB
- A TestCase defines the fixture to run multiple tests.
- InheritedTestCase
- A TestCase defines the fixture to run multiple tests.
- IniTest
- A TestCase defines the fixture to run multiple tests.
- IsolationTest
- A TestCase defines the fixture to run multiple tests.
- MockRunner
- Base class for all test runners.
- MultiDependencyTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoverageClassExtendedTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoverageClassTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoverageCoversClassPublicTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoverageCoversClassTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoverageMethodTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoverageNotPrivateTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoverageNotProtectedTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoverageNotPublicTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoveragePrivateTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoverageProtectedTest
- A TestCase defines the fixture to run multiple tests.
- NamespaceCoveragePublicTest
- A TestCase defines the fixture to run multiple tests.
- CoveredParentClass
- CoveredClass
- NoArgTestCaseTest
- A TestCase defines the fixture to run multiple tests.
- NonStatic
- NoTestCaseClass
- NoTestCases
- A TestCase defines the fixture to run multiple tests.
- NotExistingCoveredElementTest
- A TestCase defines the fixture to run multiple tests.
- NothingTest
- A TestCase defines the fixture to run multiple tests.
- NotPublicTestCase
- A TestCase defines the fixture to run multiple tests.
- NotVoidTestCase
- A TestCase defines the fixture to run multiple tests.
- OneTestCase
- A TestCase defines the fixture to run multiple tests.
- OutputTestCase
- A TestCase defines the fixture to run multiple tests.
- OverrideTestCase
- A TestCase defines the fixture to run multiple tests.
- RequirementsClassBeforeClassHookTest
- A TestCase defines the fixture to run multiple tests.
- RequirementsClassDocBlockTest
- RequirementsTest
- A TestCase defines the fixture to run multiple tests.
- SampleArrayAccess
- Sample class that implements ArrayAccess copied from http://www.php.net/manual/en/class.arrayaccess.php with some minor changes This class required for PHPUnit_Framework_Constraint_ArrayHasKey testing
- SampleClass
- Singleton
- StackTest
- A TestCase defines the fixture to run multiple tests.
- StatusTest
- A TestCase defines the fixture to run multiple tests.
- Struct
- Success
- A TestCase defines the fixture to run multiple tests.
- TemplateMethodsTest
- A TestCase defines the fixture to run multiple tests.
- TestIncomplete
- A TestCase defines the fixture to run multiple tests.
- TestIterator
- TestIterator2
- TestSkipped
- A TestCase defines the fixture to run multiple tests.
- TestError
- A TestCase defines the fixture to run multiple tests.
- TestWithTest
- A TestCase defines the fixture to run multiple tests.
- ThrowExceptionTestCase
- A TestCase defines the fixture to run multiple tests.
- ThrowNoExceptionTestCase
- A TestCase defines the fixture to run multiple tests.
- WasRun
- A TestCase defines the fixture to run multiple tests.
- Extensions_PhptTestCaseTest
- A TestCase defines the fixture to run multiple tests.
- PhpTestCaseProxy
- Runner for PHPT test cases.
- Extensions_RepeatedTestTest
- A TestCase defines the fixture to run multiple tests.
- Framework_AssertTest
- A TestCase defines the fixture to run multiple tests.
- Framework_BaseTestListenerTest
- A TestCase defines the fixture to run multiple tests.
- CountTest
- A TestCase defines the fixture to run multiple tests.
- ExceptionMessageRegExpTest
- A TestCase defines the fixture to run multiple tests.
- ExceptionMessageTest
- A TestCase defines the fixture to run multiple tests.
- Framework_Constraint_JsonMatches_ErrorMessageProviderTest
- A TestCase defines the fixture to run multiple tests.
- Framework_Constraint_JsonMatchesTest
- A TestCase defines the fixture to run multiple tests.
- Framework_ConstraintTest
- A TestCase defines the fixture to run multiple tests.
- Framework_SuiteTest
- A TestCase defines the fixture to run multiple tests.
- Framework_TestCaseTest
- A TestCase defines the fixture to run multiple tests.
- Framework_TestFailureTest
- A TestCase defines the fixture to run multiple tests.
- Framework_TestImplementorTest
- A TestCase defines the fixture to run multiple tests.
- Framework_TestListenerTest
- A TestCase defines the fixture to run multiple tests.
- Issue1149Test
- A TestCase defines the fixture to run multiple tests.
- Issue1216Test
- A TestCase defines the fixture to run multiple tests.
- Issue1265Test
- A TestCase defines the fixture to run multiple tests.
- Issue1330Test
- A TestCase defines the fixture to run multiple tests.
- Issue1335Test
- A TestCase defines the fixture to run multiple tests.
- Issue1337Test
- A TestCase defines the fixture to run multiple tests.
- Issue1348Test
- A TestCase defines the fixture to run multiple tests.
- ChildProcessClass1351
- Issue1351Test
- A TestCase defines the fixture to run multiple tests.
- Issue1374Test
- A TestCase defines the fixture to run multiple tests.
- Issue1437Test
- A TestCase defines the fixture to run multiple tests.
- Issue1468Test
- A TestCase defines the fixture to run multiple tests.
- Issue1471Test
- A TestCase defines the fixture to run multiple tests.
- Issue1472Test
- A TestCase defines the fixture to run multiple tests.
- Issue1570Test
- A TestCase defines the fixture to run multiple tests.
- Issue2158Test
- A TestCase defines the fixture to run multiple tests.
- Issue244Test
- A TestCase defines the fixture to run multiple tests.
- Issue244Exception
- Issue244ExceptionIntCode
- Issue322Test
- A TestCase defines the fixture to run multiple tests.
- Issue433Test
- A TestCase defines the fixture to run multiple tests.
- Issue445Test
- A TestCase defines the fixture to run multiple tests.
- Issue498Test
- A TestCase defines the fixture to run multiple tests.
- Issue503Test
- A TestCase defines the fixture to run multiple tests.
- Issue581Test
- A TestCase defines the fixture to run multiple tests.
- Issue74Test
- A TestCase defines the fixture to run multiple tests.
- NewException
- Issue765Test
- A TestCase defines the fixture to run multiple tests.
- Issue797Test
- A TestCase defines the fixture to run multiple tests.
- Issue1021Test
- A TestCase defines the fixture to run multiple tests.
- Issue523Test
- A TestCase defines the fixture to run multiple tests.
- Issue523
- Issue578Test
- A TestCase defines the fixture to run multiple tests.
- Foo_Bar_Issue684Test
- A TestCase defines the fixture to run multiple tests.
- ChildSuite
- OneTest
- A TestCase defines the fixture to run multiple tests.
- ParentSuite
- TwoTest
- A TestCase defines the fixture to run multiple tests.
- Runner_BaseTestRunnerTest
- A TestCase defines the fixture to run multiple tests.
- Util_ConfigurationTest
- A TestCase defines the fixture to run multiple tests.
- Util_GetoptTest
- A TestCase defines the fixture to run multiple tests.
- Util_GlobalStateTest
- A TestCase defines the fixture to run multiple tests.
- Util_RegexTest
- A TestCase defines the fixture to run multiple tests.
- Util_TestDox_NamePrettifierTest
- A TestCase defines the fixture to run multiple tests.
- Util_TestTest
- A TestCase defines the fixture to run multiple tests.
- Util_XMLTest
- A TestCase defines the fixture to run multiple tests.
- PHPUnit_Framework_MockObject_Builder_InvocationMocker
- Builder for mocked or stubbed invocations.
- PHPUnit_Framework_MockObject_BadMethodCallException
- PHPUnit_Framework_MockObject_RuntimeException
- PHPUnit_Framework_MockObject_Generator
- Mock Object Code Generator
- PHPUnit_Framework_MockObject_Invocation_Object
- Represents a non-static invocation.
- PHPUnit_Framework_MockObject_Invocation_Static
- Represents a static invocation.
- PHPUnit_Framework_MockObject_InvocationMocker
- Mocker for invocations which are sent from PHPUnit_Framework_MockObject_MockObject objects.
- PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount
- Invocation matcher which checks if a method has been invoked zero or more times. This matcher will always match.
- PHPUnit_Framework_MockObject_Matcher_AnyParameters
- Invocation matcher which allows any parameters to a method.
- PHPUnit_Framework_MockObject_Matcher_ConsecutiveParameters
- Invocation matcher which looks for sets of specific parameters in the invocations.
- PHPUnit_Framework_MockObject_Matcher_InvokedAtIndex
- Invocation matcher which checks if a method was invoked at a certain index.
- PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastCount
- Invocation matcher which checks if a method has been invoked at least N times.
- PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastOnce
- Invocation matcher which checks if a method has been invoked at least one time.
- PHPUnit_Framework_MockObject_Matcher_InvokedAtMostCount
- Invocation matcher which checks if a method has been invoked at least N times.
- PHPUnit_Framework_MockObject_Matcher_InvokedCount
- Invocation matcher which checks if a method has been invoked a certain amount of times.
- PHPUnit_Framework_MockObject_Matcher_InvokedRecorder
- Records invocations and provides convenience methods for checking them later on.
- PHPUnit_Framework_MockObject_Matcher_MethodName
- Invocation matcher which looks for a specific method name in the invocations.
- PHPUnit_Framework_MockObject_Matcher_Parameters
- Invocation matcher which looks for specific parameters in the invocations.
- PHPUnit_Framework_MockObject_Matcher_StatelessInvocation
- Invocation matcher which does not care about previous state from earlier invocations.
- PHPUnit_Framework_MockObject_Matcher
- Main matcher which defines a full expectation using method, parameter and invocation matchers.
- PHPUnit_Framework_MockObject_MockBuilder
- Implementation of the Builder pattern for Mock objects.
- PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls
- Stubs a method by returning a user-defined stack of values.
- PHPUnit_Framework_MockObject_Stub_Exception
- Stubs a method by raising a user-defined exception.
- PHPUnit_Framework_MockObject_Stub_Return
- Stubs a method by returning a user-defined value.
- PHPUnit_Framework_MockObject_Stub_ReturnArgument
- Stubs a method by returning an argument that was passed to the mocked method.
- PHPUnit_Framework_MockObject_Stub_ReturnCallback
- PHPUnit_Framework_MockObject_Stub_ReturnSelf
- Stubs a method by returning the current object.
- PHPUnit_Framework_MockObject_Stub_ReturnValueMap
- Stubs a method by returning a value from a map.
- AbstractMockTestClass
- Bar
- ClassThatImplementsSerializable
- ClassWithStaticMethod
- Foo
- MethodCallback
- MethodCallbackByReference
- Mockable
- PartialMockTestClass
- SingletonClass
- SomeClass
- StaticMockTestClass
- Framework_MockObject_GeneratorTest
- A TestCase defines the fixture to run multiple tests.
- Framework_MockBuilderTest
- A TestCase defines the fixture to run multiple tests.
- Framework_MockObject_Invocation_ObjectTest
- A TestCase defines the fixture to run multiple tests.
- Framework_MockObject_Invocation_StaticTest
- A TestCase defines the fixture to run multiple tests.
- Framework_MockObject_Matcher_ConsecutiveParametersTest
- A TestCase defines the fixture to run multiple tests.
- Framework_MockObjectTest
- A TestCase defines the fixture to run multiple tests.
- Framework_ProxyObjectTest
- A TestCase defines the fixture to run multiple tests.
- AbstractLogger
- This is a simple Logger implementation that other Loggers can inherit from.
- InvalidArgumentException
- LogLevel
- Describes log levels.
- NullLogger
- This Logger can be used to avoid conditional log calls.
- LoggerInterfaceTest
- Provides a base test class for ensuring compliance with the LoggerInterface.
- TestLogger
- Used for testing purposes.
- ArrayComparator
- Compares arrays for equality.
- Comparator
- Abstract base class for comparators which compare values for equality.
- ComparisonFailure
- Thrown when an assertion for string equality failed.
- DateTimeComparator
- Compares DateTimeInterface instances for equality.
- DOMNodeComparator
- Compares DOMNode instances for equality.
- DoubleComparator
- Compares doubles for equality.
- ExceptionComparator
- Compares Exception instances for equality.
- Factory
- Factory for comparators which compare values for equality.
- MockObjectComparator
- Compares PHPUnit_Framework_MockObject_MockObject instances for equality.
- NumericComparator
- Compares numerical values for equality.
- ObjectComparator
- Compares objects for equality.
- ResourceComparator
- Compares resources for equality.
- ScalarComparator
- Compares scalar or NULL values for equality.
- SplObjectStorageComparator
- Compares \SplObjectStorage instances for equality.
- TypeComparator
- Compares values for type equality.
- Author
- An author.
- Book
- A book.
- ClassWithToString
- SampleClass
- A sample class.
- Struct
- A struct.
- TestClass
- TestClassComparator
- Compares objects for equality.
- ArrayComparatorTest
- A TestCase defines the fixture to run multiple tests.
- DateTimeComparatorTest
- A TestCase defines the fixture to run multiple tests.
- DOMNodeComparatorTest
- A TestCase defines the fixture to run multiple tests.
- DoubleComparatorTest
- A TestCase defines the fixture to run multiple tests.
- ExceptionComparatorTest
- A TestCase defines the fixture to run multiple tests.
- FactoryTest
- A TestCase defines the fixture to run multiple tests.
- MockObjectComparatorTest
- A TestCase defines the fixture to run multiple tests.
- NumericComparatorTest
- A TestCase defines the fixture to run multiple tests.
- ObjectComparatorTest
- A TestCase defines the fixture to run multiple tests.
- ResourceComparatorTest
- A TestCase defines the fixture to run multiple tests.
- ScalarComparatorTest
- A TestCase defines the fixture to run multiple tests.
- SplObjectStorageComparatorTest
- A TestCase defines the fixture to run multiple tests.
- TypeComparatorTest
- A TestCase defines the fixture to run multiple tests.
- Chunk
- Diff
- Differ
- Diff implementation.
- MemoryEfficientImplementation
- Memory-efficient implementation of longest common subsequence calculation.
- TimeEfficientImplementation
- Time-efficient implementation of longest common subsequence calculation.
- Line
- Parser
- Unified diff parser.
- ChunkTest
- A TestCase defines the fixture to run multiple tests.
- DifferTest
- A TestCase defines the fixture to run multiple tests.
- DiffTest
- A TestCase defines the fixture to run multiple tests.
- LongestCommonSubsequenceTest
- A TestCase defines the fixture to run multiple tests.
- MemoryEfficientImplementationTest
- A TestCase defines the fixture to run multiple tests.
- TimeEfficientImplementationTest
- A TestCase defines the fixture to run multiple tests.
- LineTest
- A TestCase defines the fixture to run multiple tests.
- Console
- Runtime
- Utility class for HHVM/PHP environment handling.
- ConsoleTest
- A TestCase defines the fixture to run multiple tests.
- RuntimeTest
- A TestCase defines the fixture to run multiple tests.
- Exporter
- A nifty utility for visualizing PHP variables.
- ExporterTest
- A TestCase defines the fixture to run multiple tests.
- Blacklist
- A blacklist for global state elements that should not be snapshotted.
- CodeExporter
- Exports parts of a Snapshot as PHP code.
- Restorer
- Restorer of snapshots of global state.
- RuntimeException
- Snapshot
- A snapshot of global state.
- BlacklistedChildClass
- BlacklistedClass
- BlacklistedImplementor
- SnapshotClass
- SnapshotDomDocument
- BlacklistTest
- A TestCase defines the fixture to run multiple tests.
- SnapshotTest
- A TestCase defines the fixture to run multiple tests.
- Context
- A context containing previously processed arrays and objects when recursively processing a value.
- InvalidArgumentException
- ContextTest
- A TestCase defines the fixture to run multiple tests.
- Version
- Application
- An Application is the container for a collection of commands.
- AsCommand
- Service tag to autoconfigure commands.
- GithubActionReporter
- Utility class for Github actions.
- Color
- Command
- Base class for all commands.
- HelpCommand
- HelpCommand displays the help for a given command.
- LazyCommand
- Base class for all commands.
- ListCommand
- ListCommand displays the list of all available commands for the application.
- ContainerCommandLoader
- Loads commands from a PSR-11 container.
- FactoryCommandLoader
- A simple command loader using factories to instantiate commands lazily.
- ConsoleEvents
- Contains all events dispatched by an Application.
- Cursor
- AddConsoleCommandPass
- Registers console commands.
- ConsoleCommandEvent
- Allows to do things before the command is executed, like skipping the command or changing the input.
- ConsoleErrorEvent
- Allows to handle throwables thrown while running a command.
- ConsoleEvent
- Allows to inspect input and output of a command.
- ConsoleSignalEvent
- Allows to inspect input and output of a command.
- ConsoleTerminateEvent
- Allows to manipulate the exit code of a command after its execution.
- ErrorListener
- CommandNotFoundException
- Represents an incorrect command name typed in the console.
- InvalidArgumentException
- InvalidOptionException
- Represents an incorrect option name typed in the console.
- LogicException
- MissingInputException
- Represents failure to read input from stdin.
- NamespaceNotFoundException
- Represents an incorrect namespace typed in the console.
- RuntimeException
- NullOutputFormatter
- NullOutputFormatterStyle
- OutputFormatter
- Formatter class for console output.
- OutputFormatterStyle
- Formatter style class for defining styles.
- OutputFormatterStyleStack
- DebugFormatterHelper
- Helps outputting debug information when running an external program from a command.
- DescriptorHelper
- This class adds helper method to describe objects in various formats.
- Dumper
- FormatterHelper
- The Formatter class provides helpers to format messages.
- Helper
- Helper is the base class for all helper classes.
- HelperSet
- HelperSet represents a set of helpers to be used with a command.
- InputAwareHelper
- An implementation of InputAwareInterface for Helpers.
- ProcessHelper
- The ProcessHelper class provides helpers to run external processes.
- ProgressBar
- The ProgressBar provides helpers to display progress output.
- ProgressIndicator
- QuestionHelper
- The QuestionHelper class provides helpers to interact with the user.
- SymfonyQuestionHelper
- Symfony Style Guide compliant question helper.
- Table
- Provides helpers to display a table.
- TableCell
- TableCellStyle
- TableSeparator
- Marks a row as being a separator.
- TableStyle
- Defines the styles for a Table.
- ArgvInput
- ArgvInput represents an input coming from the CLI arguments.
- ArrayInput
- ArrayInput represents an input provided as an array.
- Input
- Input is the base class for all concrete Input classes.
- InputArgument
- Represents a command line argument.
- InputDefinition
- A InputDefinition represents a set of valid command line arguments and options.
- InputOption
- Represents a command line option.
- StringInput
- StringInput represents an input provided as a string.
- ConsoleLogger
- PSR-3 compliant console logger.
- BufferedOutput
- Base class for output classes.
- ConsoleOutput
- ConsoleOutput is the default class for all CLI output. It uses STDOUT and STDERR.
- ConsoleSectionOutput
- StreamOutput writes the output to a given stream.
- NullOutput
- NullOutput suppresses all output.
- Output
- Base class for output classes.
- StreamOutput
- StreamOutput writes the output to a given stream.
- TrimmedBufferOutput
- A BufferedOutput that keeps only the last N chars.
- ChoiceQuestion
- Represents a choice question.
- ConfirmationQuestion
- Represents a yes/no question.
- Question
- Represents a Question.
- SignalRegistry
- SingleCommandApplication
- Base class for all commands.
- OutputStyle
- Decorates output to add console style guide helpers.
- SymfonyStyle
- Output decorator helpers for the Symfony Style Guide.
- Terminal
- ApplicationTester
- Eases the testing of console applications.
- CommandTester
- Eases the testing of console commands.
- AsEventListener
- Service tag to autoconfigure event listeners.
- TraceableEventDispatcher
- Collects some data about event listeners.
- WrappedListener
- AddEventAliasesPass
- This pass allows bundles to extend the list of event aliases.
- RegisterListenersPass
- Compiler pass to register tagged services for an event dispatcher.
- EventDispatcher
- The EventDispatcherInterface is the central point of Symfony's event listener system.
- GenericEvent
- Event encapsulation class.
- ImmutableEventDispatcher
- A read-only proxy for an event dispatcher.
- LegacyEventDispatcherProxy
- A helper class to provide BC/FC with the legacy signature of EventDispatcherInterface::dispatch().
- Event
- Event is the base class for classes containing event data.
- FileNotFoundException
- Exception class thrown when a file couldn't be found.
- InvalidArgumentException
- IOException
- Exception class thrown when a filesystem operation failure happens.
- Filesystem
- Provides basic utility to manipulate the file system.
- Comparator
- Comparator.
- DateComparator
- DateCompare compiles date comparisons.
- NumberComparator
- NumberComparator compiles a simple comparison to an anonymous subroutine, which you can call with a value to be tested again.
- AccessDeniedException
- DirectoryNotFoundException
- Finder
- Finder allows to build rules to find files and directories.
- Gitignore
- Gitignore matches against text.
- Glob
- Glob matches globbing patterns against text.
- CustomFilterIterator
- CustomFilterIterator filters files by applying anonymous functions.
- DateRangeFilterIterator
- DateRangeFilterIterator filters out files that are not in the given date range (last modified dates).
- DepthRangeFilterIterator
- DepthRangeFilterIterator limits the directory depth.
- ExcludeDirectoryFilterIterator
- ExcludeDirectoryFilterIterator filters out directories.
- FilecontentFilterIterator
- FilecontentFilterIterator filters files by their contents using patterns (regexps or strings).
- FilenameFilterIterator
- FilenameFilterIterator filters files by patterns (a regexp, a glob, or a string).
- FileTypeFilterIterator
- FileTypeFilterIterator only keeps files, directories, or both.
- MultiplePcreFilterIterator
- MultiplePcreFilterIterator filters files using patterns (regexps, globs or strings).
- PathFilterIterator
- PathFilterIterator filters files by path patterns (e.g. some/special/dir).
- RecursiveDirectoryIterator
- Extends the \RecursiveDirectoryIterator to support relative paths.
- SizeRangeFilterIterator
- SizeRangeFilterIterator filters out files that are not in the given size range.
- SortableIterator
- SortableIterator applies a sort on a given Iterator.
- SplFileInfo
- Extends \SplFileInfo to support relative paths.
- OptionsResolverIntrospector
- AccessException
- Thrown when trying to read an option outside of or write it inside of {@link \Symfony\Component\OptionsResolver\Options::resolve()}.
- InvalidArgumentException
- Thrown when an argument is invalid.
- InvalidOptionsException
- Thrown when the value of an option does not match its validation rules.
- MissingOptionsException
- Exception thrown when a required option is missing.
- NoConfigurationException
- Thrown when trying to introspect an option definition property for which no value was configured inside the OptionsResolver instance.
- NoSuchOptionException
- Thrown when trying to read an option that has no value set.
- OptionDefinitionException
- Thrown when two lazy options have a cyclic dependency.
- UndefinedOptionsException
- Exception thrown when an undefined option is passed.
- OptionConfigurator
- OptionsResolver
- Validates options and merges them with default values.
- Normalizer
- JsonException
- Attribute
- UnhandledMatchError
- ValueError
- InvalidArgumentException
- InvalidArgumentException for the Process Component.
- LogicException
- LogicException for the Process Component.
- ProcessFailedException
- Exception for failed processes.
- ProcessSignaledException
- Exception that is thrown when a process has been signaled.
- ProcessTimedOutException
- Exception that is thrown when a process times out.
- RuntimeException
- RuntimeException for the Process Component.
- ExecutableFinder
- Generic executable finder.
- InputStream
- Provides a way to continuously write to the input of a Process until the InputStream is closed.
- PhpExecutableFinder
- An executable finder specifically designed for the PHP executable.
- PhpProcess
- PhpProcess runs a PHP script in an independent process.
- Process
- Process is a thin wrapper around proc_* functions to easily start independent PHP processes.
- ProcessUtils
- ProcessUtils is a bunch of utility methods.
- Required
- A required dependency.
- ServiceLocatorTest
- A TestCase defines the fixture to run multiple tests.
- Section
- Stopwatch section.
- Stopwatch
- Stopwatch provides a way to profile code.
- StopwatchEvent
- Represents an Event managed by Stopwatch.
- StopwatchPeriod
- Represents an Period for an Event.
- AbstractString
- Represents a string of abstract characters.
- AbstractUnicodeString
- Represents a string of abstract Unicode characters.
- ByteString
- Represents a binary-safe string of bytes.
- CodePointString
- Represents a string of Unicode code points encoded as UTF-8.
- InvalidArgumentException
- RuntimeException
- EnglishInflector
- FrenchInflector
- French inflector.
- LazyString
- A string whose value is computed lazily by a callback.
- AsciiSlugger
- UnicodeString
- Represents a string of Unicode grapheme clusters encoded as UTF-8.
- LintCommand
- Validates YAML files syntax and outputs encountered errors.
- Dumper
- Dumper dumps PHP variables to YAML strings.
- DumpException
- Exception class thrown when an error occurs during dumping.
- ParseException
- Exception class thrown when an error occurs during parsing.
- RuntimeException
- Exception class thrown when an error occurs during parsing.
- Parser
- Parser parses YAML strings to convert them to PHP arrays.
- TaggedValue
- LintCommandTest
- Tests the YamlLintCommand.
- Foo
- DumperTest
- A TestCase defines the fixture to run multiple tests.
- A
- InlineTest
- A TestCase defines the fixture to run multiple tests.
- ParseExceptionTest
- A TestCase defines the fixture to run multiple tests.
- ParserTest
- A TestCase defines the fixture to run multiple tests.
- B
- YamlTest
- A TestCase defines the fixture to run multiple tests.
- Yaml
- Yaml offers convenience methods to load and dump YAML.
- Assert
- Efficient assertions to validate the input/output of your methods.
- InvalidArgumentException
- MessageTrait
- Trait implementing functionality common to requests and responses.
- StreamDecoratorTrait
- Stream decorator trait
- AbstractTrait
- LoggerAwareTrait
- Basic Implementation of LoggerAwareInterface.
- LoggerTrait
- This is a simple Logger trait that classes unable to extend AbstractLogger (because they extend another class, etc) can include.
- SnapshotTrait
- LockableTrait
- Basic lock feature for commands.
- TesterTrait
- ServiceLocatorTrait
- A trait to help implement ServiceProviderInterface.
- ServiceSubscriberTrait
- Implementation of ServiceSubscriberInterface that determines subscribed services from private method return types. Service ids are available as "ClassName::methodName".
- Mixin
- This trait aids static analysis tooling in introspecting assertion magic methods.
Table of Contents
- GITHUB_ISSUE = 797
- composerRequiree4f5bc4bbfd9f29003e89070be0c9fac() : mixed
- includeFile() : mixed
- Scope isolated include.
- uri_template() : string
- Expands a URI template
- describe_type() : string
- Debug function used to describe the provided value type and class.
- headers_from_lines() : array<string|int, mixed>
- Parses an array of header lines into an associative array of headers.
- debug_resource() : resource
- Returns a debug stream based on the provided variable.
- choose_handler() : callable
- Chooses and creates a default handler to use based on the environment.
- default_user_agent() : string
- Get the default User-Agent string to use with Guzzle
- default_ca_bundle() : string
- Returns the default cacert bundle for the current system.
- normalize_header_keys() : array<string|int, mixed>
- Creates an associative array of lowercase header names to the actual header casing.
- is_host_in_noproxy() : bool
- Returns true if the provided host matches any of the no proxy areas.
- json_decode() : mixed
- Wrapper for json_decode that throws when an error occurs.
- json_encode() : string
- Wrapper for JSON encoding that throws when an error occurs.
- queue() : TaskQueueInterface
- Get the global task queue used for promise resolution.
- task() : PromiseInterface
- Adds a function to run in the task queue when it is next `run()` and returns a promise that is fulfilled or rejected with the result.
- promise_for() : PromiseInterface
- Creates a promise for a value if the value is not a promise.
- rejection_for() : PromiseInterface
- Creates a rejected promise for a reason if the reason is not a promise. If the provided reason is a promise, then it is returned as-is.
- exception_for() : Exception|Throwable
- Create an exception for a rejected promise value.
- iter_for() : Iterator
- Returns an iterator for the given value.
- inspect() : array<string|int, mixed>
- Synchronously waits on a promise to resolve and returns an inspection state array.
- inspect_all() : array<string|int, mixed>
- Waits on all of the provided promises, but does not unwrap rejected promises as thrown exception.
- unwrap() : array<string|int, mixed>
- Waits on all of the provided promises and returns the fulfilled values.
- all() : PromiseInterface
- Given an array of promises, return a promise that is fulfilled when all the items in the array are fulfilled.
- some() : PromiseInterface
- Initiate a competitive race between multiple promises or values (values will become immediately fulfilled promises).
- any() : PromiseInterface
- Like some(), with 1 as count. However, if the promise fulfills, the fulfillment value is not an array of 1 but the value directly.
- settle() : PromiseInterface
- Returns a promise that is fulfilled when all of the provided promises have been fulfilled or rejected.
- each() : PromiseInterface
- Given an iterator that yields promises or values, returns a promise that is fulfilled with a null value when the iterator has been consumed or the aggregate promise has been fulfilled or rejected.
- each_limit() : PromiseInterface
- Like each, but only allows a certain number of outstanding promises at any given time.
- each_limit_all() : PromiseInterface
- Like each_limit, but ensures that no promise in the given $iterable argument is rejected. If any promise is rejected, then the aggregate promise is rejected with the encountered rejection.
- is_fulfilled() : bool
- Returns true if a promise is fulfilled.
- is_rejected() : bool
- Returns true if a promise is rejected.
- is_settled() : bool
- Returns true if a promise is fulfilled or rejected.
- coroutine() : PromiseInterface
- Create a new coroutine.
- str() : string
- Returns the string representation of an HTTP message.
- uri_for() : UriInterface
- Returns a UriInterface for the given value.
- stream_for() : StreamInterface
- Create a new stream based on the input type.
- parse_header() : array<string|int, mixed>
- Parse an array of header values containing ";" separated data into an array of associative arrays representing the header key value pair data of the header. When a parameter does not contain a value, but just contains a key, this function will inject a key with a '' string value.
- normalize_header() : array<string|int, mixed>
- Converts an array of header values that may contain comma separated headers into an array of headers with no comma separated values.
- modify_request() : RequestInterface
- Clone and modify a request with the given changes.
- rewind_body() : mixed
- Attempts to rewind a message body and throws an exception on failure.
- try_fopen() : resource
- Safely opens a PHP stream resource using a filename.
- copy_to_string() : string
- Copy the contents of a stream into a string until the given number of bytes have been read.
- copy_to_stream() : mixed
- Copy the contents of a stream into another stream until the given number of bytes have been read.
- hash() : string
- Calculate a hash of a stream.
- readline() : string
- Read a line from the stream up to the maximum allowed buffer length.
- parse_request() : Request
- Parses a request message string into a request object.
- parse_response() : Response
- Parses a response message string into a response object.
- parse_query() : array<string|int, mixed>
- Parse a query string into an associative array.
- build_query() : string
- Build a query string from an array of key value pairs.
- mimetype_from_filename() : string|null
- Determines the mimetype of a file by looking at its extension.
- mimetype_from_extension() : string|null
- Maps a file extensions to a mimetype.
- get_message_body_summary() : string|null
- Get a short summary of the message body.
- globalFunction() : mixed
- baz() : mixed
- foo() : mixed
- baz() : mixed
- foo() : mixed
- foo() : mixed
- any() : PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount
- Returns a matcher that matches when the method is executed zero or more times.
- anything() : PHPUnit_Framework_Constraint_IsAnything
- Returns a PHPUnit_Framework_Constraint_IsAnything matcher object.
- arrayHasKey() : PHPUnit_Framework_Constraint_ArrayHasKey
- Returns a PHPUnit_Framework_Constraint_ArrayHasKey matcher object.
- assertArrayHasKey() : mixed
- Asserts that an array has a specified key.
- assertArraySubset() : mixed
- Asserts that an array has a specified subset.
- assertArrayNotHasKey() : mixed
- Asserts that an array does not have a specified key.
- assertAttributeContains() : mixed
- Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains a needle.
- assertAttributeContainsOnly() : mixed
- Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains only values of a given type.
- assertAttributeCount() : mixed
- Asserts the number of elements of an array, Countable or Traversable that is stored in an attribute.
- assertAttributeEmpty() : mixed
- Asserts that a static attribute of a class or an attribute of an object is empty.
- assertAttributeEquals() : mixed
- Asserts that a variable is equal to an attribute of an object.
- assertAttributeGreaterThan() : mixed
- Asserts that an attribute is greater than another value.
- assertAttributeGreaterThanOrEqual() : mixed
- Asserts that an attribute is greater than or equal to another value.
- assertAttributeInstanceOf() : mixed
- Asserts that an attribute is of a given type.
- assertAttributeInternalType() : mixed
- Asserts that an attribute is of a given type.
- assertAttributeLessThan() : mixed
- Asserts that an attribute is smaller than another value.
- assertAttributeLessThanOrEqual() : mixed
- Asserts that an attribute is smaller than or equal to another value.
- assertAttributeNotContains() : mixed
- Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object does not contain a needle.
- assertAttributeNotContainsOnly() : mixed
- Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object does not contain only values of a given type.
- assertAttributeNotCount() : mixed
- Asserts the number of elements of an array, Countable or Traversable that is stored in an attribute.
- assertAttributeNotEmpty() : mixed
- Asserts that a static attribute of a class or an attribute of an object is not empty.
- assertAttributeNotEquals() : mixed
- Asserts that a variable is not equal to an attribute of an object.
- assertAttributeNotInstanceOf() : mixed
- Asserts that an attribute is of a given type.
- assertAttributeNotInternalType() : mixed
- Asserts that an attribute is of a given type.
- assertAttributeNotSame() : mixed
- Asserts that a variable and an attribute of an object do not have the same type and value.
- assertAttributeSame() : mixed
- Asserts that a variable and an attribute of an object have the same type and value.
- assertClassHasAttribute() : mixed
- Asserts that a class has a specified attribute.
- assertClassHasStaticAttribute() : mixed
- Asserts that a class has a specified static attribute.
- assertClassNotHasAttribute() : mixed
- Asserts that a class does not have a specified attribute.
- assertClassNotHasStaticAttribute() : mixed
- Asserts that a class does not have a specified static attribute.
- assertContains() : mixed
- Asserts that a haystack contains a needle.
- assertContainsOnly() : mixed
- Asserts that a haystack contains only values of a given type.
- assertContainsOnlyInstancesOf() : mixed
- Asserts that a haystack contains only instances of a given classname
- assertCount() : mixed
- Asserts the number of elements of an array, Countable or Traversable.
- assertEmpty() : mixed
- Asserts that a variable is empty.
- assertEqualXMLStructure() : mixed
- Asserts that a hierarchy of DOMElements matches.
- assertEquals() : mixed
- Asserts that two variables are equal.
- assertNotTrue() : mixed
- Asserts that a condition is not true.
- assertFalse() : mixed
- Asserts that a condition is false.
- assertFileEquals() : mixed
- Asserts that the contents of one file is equal to the contents of another file.
- assertFileExists() : mixed
- Asserts that a file exists.
- assertFileNotEquals() : mixed
- Asserts that the contents of one file is not equal to the contents of another file.
- assertFileNotExists() : mixed
- Asserts that a file does not exist.
- assertGreaterThan() : mixed
- Asserts that a value is greater than another value.
- assertGreaterThanOrEqual() : mixed
- Asserts that a value is greater than or equal to another value.
- assertInstanceOf() : mixed
- Asserts that a variable is of a given type.
- assertInternalType() : mixed
- Asserts that a variable is of a given type.
- assertJson() : mixed
- Asserts that a string is a valid JSON string.
- assertJsonFileEqualsJsonFile() : mixed
- Asserts that two JSON files are equal.
- assertJsonFileNotEqualsJsonFile() : mixed
- Asserts that two JSON files are not equal.
- assertJsonStringEqualsJsonFile() : mixed
- Asserts that the generated JSON encoded object and the content of the given file are equal.
- assertJsonStringEqualsJsonString() : mixed
- Asserts that two given JSON encoded objects or arrays are equal.
- assertJsonStringNotEqualsJsonFile() : mixed
- Asserts that the generated JSON encoded object and the content of the given file are not equal.
- assertJsonStringNotEqualsJsonString() : mixed
- Asserts that two given JSON encoded objects or arrays are not equal.
- assertLessThan() : mixed
- Asserts that a value is smaller than another value.
- assertLessThanOrEqual() : mixed
- Asserts that a value is smaller than or equal to another value.
- assertNotContains() : mixed
- Asserts that a haystack does not contain a needle.
- assertNotContainsOnly() : mixed
- Asserts that a haystack does not contain only values of a given type.
- assertNotCount() : mixed
- Asserts the number of elements of an array, Countable or Traversable.
- assertNotEmpty() : mixed
- Asserts that a variable is not empty.
- assertNotEquals() : mixed
- Asserts that two variables are not equal.
- assertNotInstanceOf() : mixed
- Asserts that a variable is not of a given type.
- assertNotInternalType() : mixed
- Asserts that a variable is not of a given type.
- assertNotFalse() : mixed
- Asserts that a condition is not false.
- assertNotNull() : mixed
- Asserts that a variable is not null.
- assertNotRegExp() : mixed
- Asserts that a string does not match a given regular expression.
- assertNotSame() : mixed
- Asserts that two variables do not have the same type and value.
- assertNotSameSize() : mixed
- Assert that the size of two arrays (or `Countable` or `Traversable` objects) is not the same.
- assertNotTag() : mixed
- This assertion is the exact opposite of assertTag().
- assertNull() : mixed
- Asserts that a variable is null.
- assertObjectHasAttribute() : mixed
- Asserts that an object has a specified attribute.
- assertObjectNotHasAttribute() : mixed
- Asserts that an object does not have a specified attribute.
- assertRegExp() : mixed
- Asserts that a string matches a given regular expression.
- assertSame() : mixed
- Asserts that two variables have the same type and value.
- assertSameSize() : mixed
- Assert that the size of two arrays (or `Countable` or `Traversable` objects) is the same.
- assertSelectCount() : mixed
- Assert the presence, absence, or count of elements in a document matching the CSS $selector, regardless of the contents of those elements.
- assertSelectEquals() : mixed
- assertSelectEquals("#binder .name", "Chuck", true, $xml); // any? assertSelectEquals("#binder .name", "Chuck", false, $xml); // none?
- assertSelectRegExp() : mixed
- assertSelectRegExp("#binder .name", "/Mike|Derek/", true, $xml); // any? assertSelectRegExp("#binder .name", "/Mike|Derek/", 3, $xml);// 3?
- assertStringEndsNotWith() : mixed
- Asserts that a string ends not with a given prefix.
- assertStringEndsWith() : mixed
- Asserts that a string ends with a given prefix.
- assertStringEqualsFile() : mixed
- Asserts that the contents of a string is equal to the contents of a file.
- assertStringMatchesFormat() : mixed
- Asserts that a string matches a given format string.
- assertStringMatchesFormatFile() : mixed
- Asserts that a string matches a given format file.
- assertStringNotEqualsFile() : mixed
- Asserts that the contents of a string is not equal to the contents of a file.
- assertStringNotMatchesFormat() : mixed
- Asserts that a string does not match a given format string.
- assertStringNotMatchesFormatFile() : mixed
- Asserts that a string does not match a given format string.
- assertStringStartsNotWith() : mixed
- Asserts that a string starts not with a given prefix.
- assertStringStartsWith() : mixed
- Asserts that a string starts with a given prefix.
- assertTag() : mixed
- Evaluate an HTML or XML string and assert its structure and/or contents.
- assertThat() : mixed
- Evaluates a PHPUnit_Framework_Constraint matcher object.
- assertTrue() : mixed
- Asserts that a condition is true.
- assertXmlFileEqualsXmlFile() : mixed
- Asserts that two XML files are equal.
- assertXmlFileNotEqualsXmlFile() : mixed
- Asserts that two XML files are not equal.
- assertXmlStringEqualsXmlFile() : mixed
- Asserts that two XML documents are equal.
- assertXmlStringEqualsXmlString() : mixed
- Asserts that two XML documents are equal.
- assertXmlStringNotEqualsXmlFile() : mixed
- Asserts that two XML documents are not equal.
- assertXmlStringNotEqualsXmlString() : mixed
- Asserts that two XML documents are not equal.
- at() : PHPUnit_Framework_MockObject_Matcher_InvokedAtIndex
- Returns a matcher that matches when the method is executed at the given $index.
- atLeastOnce() : PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastOnce
- Returns a matcher that matches when the method is executed at least once.
- attribute() : PHPUnit_Framework_Constraint_Attribute
- Returns a PHPUnit_Framework_Constraint_Attribute matcher object.
- attributeEqualTo() : PHPUnit_Framework_Constraint_Attribute
- Returns a PHPUnit_Framework_Constraint_IsEqual matcher object that is wrapped in a PHPUnit_Framework_Constraint_Attribute matcher object.
- callback() : PHPUnit_Framework_Constraint_Callback
- Returns a PHPUnit_Framework_Constraint_Callback matcher object.
- classHasAttribute() : PHPUnit_Framework_Constraint_ClassHasAttribute
- Returns a PHPUnit_Framework_Constraint_ClassHasAttribute matcher object.
- classHasStaticAttribute() : PHPUnit_Framework_Constraint_ClassHasStaticAttribute
- Returns a PHPUnit_Framework_Constraint_ClassHasStaticAttribute matcher object.
- contains() : PHPUnit_Framework_Constraint_TraversableContains
- Returns a PHPUnit_Framework_Constraint_TraversableContains matcher object.
- containsOnly() : PHPUnit_Framework_Constraint_TraversableContainsOnly
- Returns a PHPUnit_Framework_Constraint_TraversableContainsOnly matcher object.
- containsOnlyInstancesOf() : PHPUnit_Framework_Constraint_TraversableContainsOnly
- Returns a PHPUnit_Framework_Constraint_TraversableContainsOnly matcher object.
- equalTo() : PHPUnit_Framework_Constraint_IsEqual
- Returns a PHPUnit_Framework_Constraint_IsEqual matcher object.
- exactly() : PHPUnit_Framework_MockObject_Matcher_InvokedCount
- Returns a matcher that matches when the method is executed exactly $count times.
- fileExists() : PHPUnit_Framework_Constraint_FileExists
- Returns a PHPUnit_Framework_Constraint_FileExists matcher object.
- greaterThan() : PHPUnit_Framework_Constraint_GreaterThan
- Returns a PHPUnit_Framework_Constraint_GreaterThan matcher object.
- greaterThanOrEqual() : PHPUnit_Framework_Constraint_Or
- Returns a PHPUnit_Framework_Constraint_Or matcher object that wraps a PHPUnit_Framework_Constraint_IsEqual and a PHPUnit_Framework_Constraint_GreaterThan matcher object.
- identicalTo() : PHPUnit_Framework_Constraint_IsIdentical
- Returns a PHPUnit_Framework_Constraint_IsIdentical matcher object.
- isEmpty() : PHPUnit_Framework_Constraint_IsEmpty
- Returns a PHPUnit_Framework_Constraint_IsEmpty matcher object.
- isFalse() : PHPUnit_Framework_Constraint_IsFalse
- Returns a PHPUnit_Framework_Constraint_IsFalse matcher object.
- isInstanceOf() : PHPUnit_Framework_Constraint_IsInstanceOf
- Returns a PHPUnit_Framework_Constraint_IsInstanceOf matcher object.
- isJson() : PHPUnit_Framework_Constraint_IsJson
- Returns a PHPUnit_Framework_Constraint_IsJson matcher object.
- isNull() : PHPUnit_Framework_Constraint_IsNull
- Returns a PHPUnit_Framework_Constraint_IsNull matcher object.
- isTrue() : PHPUnit_Framework_Constraint_IsTrue
- Returns a PHPUnit_Framework_Constraint_IsTrue matcher object.
- isType() : PHPUnit_Framework_Constraint_IsType
- Returns a PHPUnit_Framework_Constraint_IsType matcher object.
- lessThan() : PHPUnit_Framework_Constraint_LessThan
- Returns a PHPUnit_Framework_Constraint_LessThan matcher object.
- lessThanOrEqual() : PHPUnit_Framework_Constraint_Or
- Returns a PHPUnit_Framework_Constraint_Or matcher object that wraps a PHPUnit_Framework_Constraint_IsEqual and a PHPUnit_Framework_Constraint_LessThan matcher object.
- logicalAnd() : PHPUnit_Framework_Constraint_And
- Returns a PHPUnit_Framework_Constraint_And matcher object.
- logicalNot() : PHPUnit_Framework_Constraint_Not
- Returns a PHPUnit_Framework_Constraint_Not matcher object.
- logicalOr() : PHPUnit_Framework_Constraint_Or
- Returns a PHPUnit_Framework_Constraint_Or matcher object.
- logicalXor() : PHPUnit_Framework_Constraint_Xor
- Returns a PHPUnit_Framework_Constraint_Xor matcher object.
- matches() : PHPUnit_Framework_Constraint_StringMatches
- Returns a PHPUnit_Framework_Constraint_StringMatches matcher object.
- matchesRegularExpression() : PHPUnit_Framework_Constraint_PCREMatch
- Returns a PHPUnit_Framework_Constraint_PCREMatch matcher object.
- never() : PHPUnit_Framework_MockObject_Matcher_InvokedCount
- Returns a matcher that matches when the method is never executed.
- objectHasAttribute() : PHPUnit_Framework_Constraint_ObjectHasAttribute
- Returns a PHPUnit_Framework_Constraint_ObjectHasAttribute matcher object.
- onConsecutiveCalls() : PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls
- once() : PHPUnit_Framework_MockObject_Matcher_InvokedCount
- Returns a matcher that matches when the method is executed exactly once.
- returnArgument() : PHPUnit_Framework_MockObject_Stub_ReturnArgument
- returnCallback() : PHPUnit_Framework_MockObject_Stub_ReturnCallback
- returnSelf() : PHPUnit_Framework_MockObject_Stub_ReturnSelf
- Returns the current object.
- returnValue() : PHPUnit_Framework_MockObject_Stub_Return
- returnValueMap() : PHPUnit_Framework_MockObject_Stub_ReturnValueMap
- stringContains() : PHPUnit_Framework_Constraint_StringContains
- Returns a PHPUnit_Framework_Constraint_StringContains matcher object.
- stringEndsWith() : PHPUnit_Framework_Constraint_StringEndsWith
- Returns a PHPUnit_Framework_Constraint_StringEndsWith matcher object.
- stringStartsWith() : PHPUnit_Framework_Constraint_StringStartsWith
- Returns a PHPUnit_Framework_Constraint_StringStartsWith matcher object.
- throwException() : PHPUnit_Framework_MockObject_Stub_Exception
- trait_exists() : mixed
- globalFunction() : mixed
- func() : mixed
- trait_exists() : mixed
- functionCallback() : mixed
- getallheaders() : mixed
- Get all HTTP header key/values as an associative array for the current request.
- snapshotFunction() : mixed
- trigger_deprecation() : void
- Triggers a silenced deprecation notice.
- ctype_alnum() : mixed
- ctype_alpha() : mixed
- ctype_cntrl() : mixed
- ctype_digit() : mixed
- ctype_graph() : mixed
- ctype_lower() : mixed
- ctype_print() : mixed
- ctype_punct() : mixed
- ctype_space() : mixed
- ctype_upper() : mixed
- ctype_xdigit() : mixed
- ctype_alnum() : bool
- ctype_alpha() : bool
- ctype_cntrl() : bool
- ctype_digit() : bool
- ctype_graph() : bool
- ctype_lower() : bool
- ctype_print() : bool
- ctype_punct() : bool
- ctype_space() : bool
- ctype_upper() : bool
- ctype_xdigit() : bool
- grapheme_extract() : mixed
- grapheme_stripos() : mixed
- grapheme_stristr() : mixed
- grapheme_strlen() : mixed
- grapheme_strpos() : mixed
- grapheme_strripos() : mixed
- grapheme_strrpos() : mixed
- grapheme_strstr() : mixed
- grapheme_substr() : mixed
- grapheme_extract() : string|false
- grapheme_stripos() : int|false
- grapheme_stristr() : string|false
- grapheme_strlen() : int|false|null
- grapheme_strpos() : int|false
- grapheme_strripos() : int|false
- grapheme_strrpos() : int|false
- grapheme_strstr() : string|false
- grapheme_substr() : string|false
- idn_to_ascii() : mixed
- idn_to_utf8() : mixed
- idn_to_ascii() : string|false
- idn_to_utf8() : string|false
- normalizer_is_normalized() : mixed
- normalizer_normalize() : mixed
- normalizer_is_normalized() : bool
- normalizer_normalize() : string|false
- mb_convert_encoding() : mixed
- mb_decode_mimeheader() : mixed
- mb_encode_mimeheader() : mixed
- mb_decode_numericentity() : mixed
- mb_encode_numericentity() : mixed
- mb_convert_case() : mixed
- mb_internal_encoding() : mixed
- mb_language() : mixed
- mb_list_encodings() : mixed
- mb_encoding_aliases() : mixed
- mb_check_encoding() : mixed
- mb_detect_encoding() : mixed
- mb_detect_order() : mixed
- mb_parse_str() : mixed
- mb_strlen() : mixed
- mb_strpos() : mixed
- mb_strtolower() : mixed
- mb_strtoupper() : mixed
- mb_substitute_character() : mixed
- mb_substr() : mixed
- mb_stripos() : mixed
- mb_stristr() : mixed
- mb_strrchr() : mixed
- mb_strrichr() : mixed
- mb_strripos() : mixed
- mb_strrpos() : mixed
- mb_strstr() : mixed
- mb_get_info() : mixed
- mb_http_output() : mixed
- mb_strwidth() : mixed
- mb_substr_count() : mixed
- mb_output_handler() : mixed
- mb_http_input() : mixed
- mb_convert_variables() : mixed
- mb_ord() : mixed
- mb_chr() : mixed
- mb_scrub() : mixed
- mb_str_split() : mixed
- mb_convert_encoding() : array<string|int, mixed>|string|false
- mb_decode_mimeheader() : string
- mb_encode_mimeheader() : string
- mb_decode_numericentity() : string
- mb_encode_numericentity() : string
- mb_convert_case() : string
- mb_internal_encoding() : string|bool
- mb_language() : string|bool
- mb_list_encodings() : array<string|int, mixed>
- mb_encoding_aliases() : array<string|int, mixed>
- mb_check_encoding() : bool
- mb_detect_encoding() : string|false
- mb_detect_order() : array<string|int, mixed>|bool
- mb_parse_str() : bool
- mb_strlen() : int
- mb_strpos() : int|false
- mb_strtolower() : string
- mb_strtoupper() : string
- mb_substitute_character() : string|int|bool
- mb_substr() : string
- mb_stripos() : int|false
- mb_stristr() : string|false
- mb_strrchr() : string|false
- mb_strrichr() : string|false
- mb_strripos() : int|false
- mb_strrpos() : int|false
- mb_strstr() : string|false
- mb_get_info() : array<string|int, mixed>|string|int|false
- mb_http_output() : string|bool
- mb_strwidth() : int
- mb_substr_count() : int
- mb_output_handler() : string
- mb_http_input() : array<string|int, mixed>|string|false
- mb_convert_variables() : string|false
- mb_ord() : int|false
- mb_chr() : string|false
- mb_scrub() : string
- mb_str_split() : array<string|int, mixed>
- sapi_windows_vt100_support() : mixed
- stream_isatty() : mixed
- utf8_encode() : mixed
- utf8_decode() : mixed
- spl_object_id() : mixed
- mb_ord() : mixed
- mb_chr() : mixed
- mb_scrub() : mixed
- is_countable() : mixed
- hrtime() : mixed
- array_key_first() : mixed
- array_key_last() : mixed
- fdiv() : float
- preg_last_error_msg() : string
- str_contains() : bool
- str_starts_with() : bool
- str_ends_with() : bool
- get_debug_type() : string
- get_resource_id() : int
- u() : UnicodeString
- b() : ByteString
- s() : UnicodeString|ByteString
Constants
GITHUB_ISSUE
public
mixed
GITHUB_ISSUE
= 797
Functions
composerRequiree4f5bc4bbfd9f29003e89070be0c9fac()
composerRequiree4f5bc4bbfd9f29003e89070be0c9fac(mixed $fileIdentifier, mixed $file) : mixed
Parameters
- $fileIdentifier : mixed
- $file : mixed
includeFile()
Scope isolated include.
includeFile(mixed $file) : mixed
Prevents access to $this/self from included files.
Parameters
- $file : mixed
uri_template()
Expands a URI template
uri_template(string $template, array<string|int, mixed> $variables) : string
Parameters
- $template : string
-
URI template
- $variables : array<string|int, mixed>
-
Template variables
describe_type()
Debug function used to describe the provided value type and class.
describe_type(mixed $input) : string
Parameters
- $input : mixed
headers_from_lines()
Parses an array of header lines into an associative array of headers.
headers_from_lines(iteratable<string|int, mixed> $lines) : array<string|int, mixed>
Parameters
- $lines : iteratable<string|int, mixed>
-
Header lines array of strings in the following format: "Name: Value"
debug_resource()
Returns a debug stream based on the provided variable.
debug_resource([mixed $value = null ]) : resource
Parameters
- $value : mixed = null
-
Optional value
choose_handler()
Chooses and creates a default handler to use based on the environment.
choose_handler() : callable
The returned handler is not wrapped by any default middlewares.
Tags
default_user_agent()
Get the default User-Agent string to use with Guzzle
default_user_agent() : string
default_ca_bundle()
Returns the default cacert bundle for the current system.
default_ca_bundle() : string
First, the openssl.cafile and curl.cainfo php.ini settings are checked. If those settings are not configured, then the common locations for bundles found on Red Hat, CentOS, Fedora, Ubuntu, Debian, FreeBSD, OS X and Windows are checked. If any of these file locations are found on disk, they will be utilized.
Note: the result of this function is cached for subsequent calls.
Tags
normalize_header_keys()
Creates an associative array of lowercase header names to the actual header casing.
normalize_header_keys(array<string|int, mixed> $headers) : array<string|int, mixed>
Parameters
- $headers : array<string|int, mixed>
is_host_in_noproxy()
Returns true if the provided host matches any of the no proxy areas.
is_host_in_noproxy(string $host, array<string|int, mixed> $noProxyArray) : bool
This method will strip a port from the host if it is present. Each pattern can be matched with an exact match (e.g., "foo.com" == "foo.com") or a partial match: (e.g., "foo.com" == "baz.foo.com" and ".foo.com" == "baz.foo.com", but ".foo.com" != "foo.com").
Areas are matched in the following cases:
- "*" (without quotes) always matches any hosts.
- An exact match.
- The area starts with "." and the area is the last part of the host. e.g. '.mit.edu' will match any host that ends with '.mit.edu'.
Parameters
- $host : string
-
Host to check against the patterns.
- $noProxyArray : array<string|int, mixed>
-
An array of host patterns.
json_decode()
Wrapper for json_decode that throws when an error occurs.
json_decode(string $json[, bool $assoc = false ][, int $depth = 512 ], int $options) : mixed
Parameters
- $json : string
-
JSON data to parse
- $assoc : bool = false
-
When true, returned objects will be converted into associative arrays.
- $depth : int = 512
-
User specified recursion depth.
- $options : int
-
Bitmask of JSON decode options.
Tags
json_encode()
Wrapper for JSON encoding that throws when an error occurs.
json_encode(mixed $value, int $options[, int $depth = 512 ]) : string
Parameters
- $value : mixed
-
The value being encoded
- $options : int
-
JSON encode option bitmask
- $depth : int = 512
-
Set the maximum depth. Must be greater than zero.
Tags
queue()
Get the global task queue used for promise resolution.
queue([TaskQueueInterface $assign = null ]) : TaskQueueInterface
This task queue MUST be run in an event loop in order for promises to be settled asynchronously. It will be automatically run when synchronously waiting on a promise.
while ($eventLoop->isRunning()) {
GuzzleHttp\Promise\queue()->run();
}
Parameters
- $assign : TaskQueueInterface = null
-
Optionally specify a new queue instance.
Tags
task()
Adds a function to run in the task queue when it is next `run()` and returns a promise that is fulfilled or rejected with the result.
task(callable $task) : PromiseInterface
Parameters
- $task : callable
-
Task function to run.
Tags
promise_for()
Creates a promise for a value if the value is not a promise.
promise_for(mixed $value) : PromiseInterface
Parameters
- $value : mixed
-
Promise or value.
Tags
rejection_for()
Creates a rejected promise for a reason if the reason is not a promise. If the provided reason is a promise, then it is returned as-is.
rejection_for(mixed $reason) : PromiseInterface
Parameters
- $reason : mixed
-
Promise or reason.
Tags
exception_for()
Create an exception for a rejected promise value.
exception_for(mixed $reason) : Exception|Throwable
Parameters
- $reason : mixed
Tags
iter_for()
Returns an iterator for the given value.
iter_for(mixed $value) : Iterator
Parameters
- $value : mixed
Tags
inspect()
Synchronously waits on a promise to resolve and returns an inspection state array.
inspect(PromiseInterface $promise) : array<string|int, mixed>
Returns a state associative array containing a "state" key mapping to a valid promise state. If the state of the promise is "fulfilled", the array will contain a "value" key mapping to the fulfilled value of the promise. If the promise is rejected, the array will contain a "reason" key mapping to the rejection reason of the promise.
Parameters
- $promise : PromiseInterface
-
Promise or value.
Tags
inspect_all()
Waits on all of the provided promises, but does not unwrap rejected promises as thrown exception.
inspect_all(array<string|int, PromiseInterface> $promises) : array<string|int, mixed>
Returns an array of inspection state arrays.
Parameters
- $promises : array<string|int, PromiseInterface>
-
Traversable of promises to wait upon.
Tags
unwrap()
Waits on all of the provided promises and returns the fulfilled values.
unwrap(iteratable<string|int, PromiseInterface> $promises) : array<string|int, mixed>
Returns an array that contains the value of each promise (in the same order the promises were provided). An exception is thrown if any of the promises are rejected.
Parameters
- $promises : iteratable<string|int, PromiseInterface>
-
Iterable of PromiseInterface objects to wait on.
Tags
all()
Given an array of promises, return a promise that is fulfilled when all the items in the array are fulfilled.
all(mixed $promises[, bool $recursive = false ]) : PromiseInterface
The promise's fulfillment value is an array with fulfillment values at respective positions to the original array. If any promise in the array rejects, the returned promise is rejected with the rejection reason.
Parameters
- $promises : mixed
-
Promises or values.
- $recursive : bool = false
-
If true, resolves new promises that might have been added to the stack during its own resolution.
Tags
some()
Initiate a competitive race between multiple promises or values (values will become immediately fulfilled promises).
some(int $count, mixed $promises) : PromiseInterface
When count amount of promises have been fulfilled, the returned promise is fulfilled with an array that contains the fulfillment values of the winners in order of resolution.
This promise is rejected with a AggregateException if the number of fulfilled promises is less than the desired $count.
Parameters
- $count : int
-
Total number of promises.
- $promises : mixed
-
Promises or values.
Tags
any()
Like some(), with 1 as count. However, if the promise fulfills, the fulfillment value is not an array of 1 but the value directly.
any(mixed $promises) : PromiseInterface
Parameters
- $promises : mixed
-
Promises or values.
Tags
settle()
Returns a promise that is fulfilled when all of the provided promises have been fulfilled or rejected.
settle(mixed $promises) : PromiseInterface
The returned promise is fulfilled with an array of inspection state arrays.
Parameters
- $promises : mixed
-
Promises or values.
Tags
each()
Given an iterator that yields promises or values, returns a promise that is fulfilled with a null value when the iterator has been consumed or the aggregate promise has been fulfilled or rejected.
each(mixed $iterable[, callable $onFulfilled = null ][, callable $onRejected = null ]) : PromiseInterface
$onFulfilled is a function that accepts the fulfilled value, iterator index, and the aggregate promise. The callback can invoke any necessary side effects and choose to resolve or reject the aggregate if needed.
$onRejected is a function that accepts the rejection reason, iterator index, and the aggregate promise. The callback can invoke any necessary side effects and choose to resolve or reject the aggregate if needed.
Parameters
- $iterable : mixed
-
Iterator or array to iterate over.
- $onFulfilled : callable = null
- $onRejected : callable = null
Tags
each_limit()
Like each, but only allows a certain number of outstanding promises at any given time.
each_limit(mixed $iterable, int|callable $concurrency[, callable $onFulfilled = null ][, callable $onRejected = null ]) : PromiseInterface
$concurrency may be an integer or a function that accepts the number of pending promises and returns a numeric concurrency limit value to allow for dynamic a concurrency size.
Parameters
- $iterable : mixed
- $concurrency : int|callable
- $onFulfilled : callable = null
- $onRejected : callable = null
Tags
each_limit_all()
Like each_limit, but ensures that no promise in the given $iterable argument is rejected. If any promise is rejected, then the aggregate promise is rejected with the encountered rejection.
each_limit_all(mixed $iterable, int|callable $concurrency[, callable $onFulfilled = null ]) : PromiseInterface
Parameters
- $iterable : mixed
- $concurrency : int|callable
- $onFulfilled : callable = null
Tags
is_fulfilled()
Returns true if a promise is fulfilled.
is_fulfilled(PromiseInterface $promise) : bool
Parameters
- $promise : PromiseInterface
Tags
is_rejected()
Returns true if a promise is rejected.
is_rejected(PromiseInterface $promise) : bool
Parameters
- $promise : PromiseInterface
Tags
is_settled()
Returns true if a promise is fulfilled or rejected.
is_settled(PromiseInterface $promise) : bool
Parameters
- $promise : PromiseInterface
Tags
coroutine()
Create a new coroutine.
coroutine(callable $generatorFn) : PromiseInterface
Parameters
- $generatorFn : callable
Tags
str()
Returns the string representation of an HTTP message.
str(MessageInterface $message) : string
Parameters
- $message : MessageInterface
-
Message to convert to a string.
Tags
uri_for()
Returns a UriInterface for the given value.
uri_for(string|UriInterface $uri) : UriInterface
This function accepts a string or UriInterface and returns a UriInterface for the given value. If the value is already a UriInterface, it is returned as-is.
Parameters
- $uri : string|UriInterface
Tags
stream_for()
Create a new stream based on the input type.
stream_for([resource|string|int|float|bool|StreamInterface|callable|Iterator|null $resource = '' ][, array<string|int, mixed> $options = [] ]) : StreamInterface
Options is an associative array that can contain the following keys:
- metadata: Array of custom metadata.
- size: Size of the stream.
This method accepts the following $resource
types:
-
Psr\Http\Message\StreamInterface
: Returns the value as-is. -
string
: Creates a stream object that uses the given string as the contents. -
resource
: Creates a stream object that wraps the given PHP stream resource. -
Iterator
: If the provided value implementsIterator
, then a read-only stream object will be created that wraps the given iterable. Each time the stream is read from, data from the iterator will fill a buffer and will be continuously called until the buffer is equal to the requested read size. Subsequent read calls will first read from the buffer and then callnext
on the underlying iterator until it is exhausted. -
object
with__toString()
: If the object has the__toString()
method, the object will be cast to a string and then a stream will be returned that uses the string value. -
NULL
: Whennull
is passed, an empty stream object is returned. -
callable
When a callable is passed, a read-only stream object will be created that invokes the given callable. The callable is invoked with the number of suggested bytes to read. The callable can return any number of bytes, but MUST returnfalse
when there is no more data to return. The stream object that wraps the callable will invoke the callable until the number of requested bytes are available. Any additional bytes will be buffered and used in subsequent reads.
Parameters
- $resource : resource|string|int|float|bool|StreamInterface|callable|Iterator|null = ''
-
Entity body data
- $options : array<string|int, mixed> = []
-
Additional options
Tags
parse_header()
Parse an array of header values containing ";" separated data into an array of associative arrays representing the header key value pair data of the header. When a parameter does not contain a value, but just contains a key, this function will inject a key with a '' string value.
parse_header(string|array<string|int, mixed> $header) : array<string|int, mixed>
Parameters
- $header : string|array<string|int, mixed>
-
Header to parse into components.
Tags
normalize_header()
Converts an array of header values that may contain comma separated headers into an array of headers with no comma separated values.
normalize_header(string|array<string|int, mixed> $header) : array<string|int, mixed>
Parameters
- $header : string|array<string|int, mixed>
-
Header to normalize.
Tags
modify_request()
Clone and modify a request with the given changes.
modify_request(RequestInterface $request, array<string|int, mixed> $changes) : RequestInterface
This method is useful for reducing the number of clones needed to mutate a message.
The changes can be one of:
- method: (string) Changes the HTTP method.
- set_headers: (array) Sets the given headers.
- remove_headers: (array) Remove the given headers.
- body: (mixed) Sets the given body.
- uri: (UriInterface) Set the URI.
- query: (string) Set the query string value of the URI.
- version: (string) Set the protocol version.
Parameters
- $request : RequestInterface
-
Request to clone and modify.
- $changes : array<string|int, mixed>
-
Changes to apply.
Tags
rewind_body()
Attempts to rewind a message body and throws an exception on failure.
rewind_body(MessageInterface $message) : mixed
The body of the message will only be rewound if a call to tell()
returns a
value other than 0
.
Parameters
- $message : MessageInterface
-
Message to rewind
Tags
try_fopen()
Safely opens a PHP stream resource using a filename.
try_fopen(string $filename, string $mode) : resource
When fopen fails, PHP normally raises a warning. This function adds an error handler that checks for errors and throws an exception instead.
Parameters
- $filename : string
-
File to open
- $mode : string
-
Mode used to open the file
Tags
copy_to_string()
Copy the contents of a stream into a string until the given number of bytes have been read.
copy_to_string(StreamInterface $stream[, int $maxLen = -1 ]) : string
Parameters
- $stream : StreamInterface
-
Stream to read
- $maxLen : int = -1
-
Maximum number of bytes to read. Pass -1 to read the entire stream.
Tags
copy_to_stream()
Copy the contents of a stream into another stream until the given number of bytes have been read.
copy_to_stream(StreamInterface $source, StreamInterface $dest[, int $maxLen = -1 ]) : mixed
Parameters
- $source : StreamInterface
-
Stream to read from
- $dest : StreamInterface
-
Stream to write to
- $maxLen : int = -1
-
Maximum number of bytes to read. Pass -1 to read the entire stream.
Tags
hash()
Calculate a hash of a stream.
hash(StreamInterface $stream, string $algo[, bool $rawOutput = false ]) : string
This method reads the entire stream to calculate a rolling hash, based on
PHP's hash_init
functions.
Parameters
- $stream : StreamInterface
-
Stream to calculate the hash for
- $algo : string
-
Hash algorithm (e.g. md5, crc32, etc)
- $rawOutput : bool = false
-
Whether or not to use raw output
Tags
readline()
Read a line from the stream up to the maximum allowed buffer length.
readline(StreamInterface $stream[, int|null $maxLength = null ]) : string
Parameters
- $stream : StreamInterface
-
Stream to read from
- $maxLength : int|null = null
-
Maximum buffer length
Tags
parse_request()
Parses a request message string into a request object.
parse_request(string $message) : Request
Parameters
- $message : string
-
Request message string.
Tags
parse_response()
Parses a response message string into a response object.
parse_response(string $message) : Response
Parameters
- $message : string
-
Response message string.
Tags
parse_query()
Parse a query string into an associative array.
parse_query(string $str[, int|bool $urlEncoding = true ]) : array<string|int, mixed>
If multiple values are found for the same key, the value of that key value
pair will become an array. This function does not parse nested PHP style
arrays into an associative array (e.g., foo[a]=1&foo[b]=2
will be parsed
into ['foo[a]' => '1', 'foo[b]' => '2'])
.
Parameters
- $str : string
-
Query string to parse
- $urlEncoding : int|bool = true
-
How the query string is encoded
Tags
build_query()
Build a query string from an array of key value pairs.
build_query(array<string|int, mixed> $params[, int|false $encoding = PHP_QUERY_RFC3986 ]) : string
This function can use the return value of parse_query()
to build a query
string. This function does not modify the provided keys when an array is
encountered (like http_build_query()
would).
Parameters
- $params : array<string|int, mixed>
-
Query string parameters.
- $encoding : int|false = PHP_QUERY_RFC3986
-
Set to false to not encode, PHP_QUERY_RFC3986 to encode using RFC3986, or PHP_QUERY_RFC1738 to encode using RFC1738.
Tags
mimetype_from_filename()
Determines the mimetype of a file by looking at its extension.
mimetype_from_filename(string $filename) : string|null
Parameters
- $filename : string
Tags
mimetype_from_extension()
Maps a file extensions to a mimetype.
mimetype_from_extension( $extension) : string|null
Parameters
Tags
get_message_body_summary()
Get a short summary of the message body.
get_message_body_summary(MessageInterface $message[, int $truncateAt = 120 ]) : string|null
Will return null
if the response is not printable.
Parameters
- $message : MessageInterface
-
The message to get the body summary
- $truncateAt : int = 120
-
The maximum allowed size of the summary
Tags
globalFunction()
globalFunction() : mixed
baz()
baz() : mixed
foo()
foo(mixed $bar) : mixed
Parameters
- $bar : mixed
baz()
baz() : mixed
foo()
foo(mixed $bar) : mixed
Parameters
- $bar : mixed
foo()
foo(mixed $a, array<string|int, mixed> $b[, array<string|int, mixed> $c = array() ]) : mixed
Parameters
- $a : mixed
- $b : array<string|int, mixed>
- $c : array<string|int, mixed> = array()
any()
Returns a matcher that matches when the method is executed zero or more times.
any() : PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount
Tags
anything()
Returns a PHPUnit_Framework_Constraint_IsAnything matcher object.
anything() : PHPUnit_Framework_Constraint_IsAnything
Tags
arrayHasKey()
Returns a PHPUnit_Framework_Constraint_ArrayHasKey matcher object.
arrayHasKey(mixed $key) : PHPUnit_Framework_Constraint_ArrayHasKey
Parameters
- $key : mixed
Tags
assertArrayHasKey()
Asserts that an array has a specified key.
assertArrayHasKey(mixed $key, array<string|int, mixed>|ArrayAccess $array[, string $message = '' ]) : mixed
Parameters
- $key : mixed
- $array : array<string|int, mixed>|ArrayAccess
- $message : string = ''
Tags
assertArraySubset()
Asserts that an array has a specified subset.
assertArraySubset(array<string|int, mixed>|ArrayAccess $subset, array<string|int, mixed>|ArrayAccess $array[, bool $strict = false ][, string $message = '' ]) : mixed
Parameters
- $subset : array<string|int, mixed>|ArrayAccess
- $array : array<string|int, mixed>|ArrayAccess
- $strict : bool = false
-
Check for object identity
- $message : string = ''
Tags
assertArrayNotHasKey()
Asserts that an array does not have a specified key.
assertArrayNotHasKey(mixed $key, array<string|int, mixed>|ArrayAccess $array[, string $message = '' ]) : mixed
Parameters
- $key : mixed
- $array : array<string|int, mixed>|ArrayAccess
- $message : string = ''
Tags
assertAttributeContains()
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains a needle.
assertAttributeContains(mixed $needle, string $haystackAttributeName, mixed $haystackClassOrObject[, string $message = '' ][, bool $ignoreCase = false ][, bool $checkForObjectIdentity = true ][, bool $checkForNonObjectIdentity = false ]) : mixed
Parameters
- $needle : mixed
- $haystackAttributeName : string
- $haystackClassOrObject : mixed
- $message : string = ''
- $ignoreCase : bool = false
- $checkForObjectIdentity : bool = true
- $checkForNonObjectIdentity : bool = false
Tags
assertAttributeContainsOnly()
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains only values of a given type.
assertAttributeContainsOnly(string $type, string $haystackAttributeName, mixed $haystackClassOrObject[, bool $isNativeType = null ][, string $message = '' ]) : mixed
Parameters
- $type : string
- $haystackAttributeName : string
- $haystackClassOrObject : mixed
- $isNativeType : bool = null
- $message : string = ''
Tags
assertAttributeCount()
Asserts the number of elements of an array, Countable or Traversable that is stored in an attribute.
assertAttributeCount(int $expectedCount, string $haystackAttributeName, mixed $haystackClassOrObject[, string $message = '' ]) : mixed
Parameters
- $expectedCount : int
- $haystackAttributeName : string
- $haystackClassOrObject : mixed
- $message : string = ''
Tags
assertAttributeEmpty()
Asserts that a static attribute of a class or an attribute of an object is empty.
assertAttributeEmpty(string $haystackAttributeName, mixed $haystackClassOrObject[, string $message = '' ]) : mixed
Parameters
- $haystackAttributeName : string
- $haystackClassOrObject : mixed
- $message : string = ''
Tags
assertAttributeEquals()
Asserts that a variable is equal to an attribute of an object.
assertAttributeEquals(mixed $expected, string $actualAttributeName, string $actualClassOrObject[, string $message = '' ][, float $delta = 0.0 ][, int $maxDepth = 10 ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : mixed
Parameters
- $expected : mixed
- $actualAttributeName : string
- $actualClassOrObject : string
- $message : string = ''
- $delta : float = 0.0
- $maxDepth : int = 10
- $canonicalize : bool = false
- $ignoreCase : bool = false
assertAttributeGreaterThan()
Asserts that an attribute is greater than another value.
assertAttributeGreaterThan(mixed $expected, string $actualAttributeName, string $actualClassOrObject[, string $message = '' ]) : mixed
Parameters
- $expected : mixed
- $actualAttributeName : string
- $actualClassOrObject : string
- $message : string = ''
Tags
assertAttributeGreaterThanOrEqual()
Asserts that an attribute is greater than or equal to another value.
assertAttributeGreaterThanOrEqual(mixed $expected, string $actualAttributeName, string $actualClassOrObject[, string $message = '' ]) : mixed
Parameters
- $expected : mixed
- $actualAttributeName : string
- $actualClassOrObject : string
- $message : string = ''
Tags
assertAttributeInstanceOf()
Asserts that an attribute is of a given type.
assertAttributeInstanceOf(string $expected, string $attributeName, mixed $classOrObject[, string $message = '' ]) : mixed
Parameters
- $expected : string
- $attributeName : string
- $classOrObject : mixed
- $message : string = ''
Tags
assertAttributeInternalType()
Asserts that an attribute is of a given type.
assertAttributeInternalType(string $expected, string $attributeName, mixed $classOrObject[, string $message = '' ]) : mixed
Parameters
- $expected : string
- $attributeName : string
- $classOrObject : mixed
- $message : string = ''
Tags
assertAttributeLessThan()
Asserts that an attribute is smaller than another value.
assertAttributeLessThan(mixed $expected, string $actualAttributeName, string $actualClassOrObject[, string $message = '' ]) : mixed
Parameters
- $expected : mixed
- $actualAttributeName : string
- $actualClassOrObject : string
- $message : string = ''
Tags
assertAttributeLessThanOrEqual()
Asserts that an attribute is smaller than or equal to another value.
assertAttributeLessThanOrEqual(mixed $expected, string $actualAttributeName, string $actualClassOrObject[, string $message = '' ]) : mixed
Parameters
- $expected : mixed
- $actualAttributeName : string
- $actualClassOrObject : string
- $message : string = ''
Tags
assertAttributeNotContains()
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object does not contain a needle.
assertAttributeNotContains(mixed $needle, string $haystackAttributeName, mixed $haystackClassOrObject[, string $message = '' ][, bool $ignoreCase = false ][, bool $checkForObjectIdentity = true ][, bool $checkForNonObjectIdentity = false ]) : mixed
Parameters
- $needle : mixed
- $haystackAttributeName : string
- $haystackClassOrObject : mixed
- $message : string = ''
- $ignoreCase : bool = false
- $checkForObjectIdentity : bool = true
- $checkForNonObjectIdentity : bool = false
Tags
assertAttributeNotContainsOnly()
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object does not contain only values of a given type.
assertAttributeNotContainsOnly(string $type, string $haystackAttributeName, mixed $haystackClassOrObject[, bool $isNativeType = null ][, string $message = '' ]) : mixed
Parameters
- $type : string
- $haystackAttributeName : string
- $haystackClassOrObject : mixed
- $isNativeType : bool = null
- $message : string = ''
Tags
assertAttributeNotCount()
Asserts the number of elements of an array, Countable or Traversable that is stored in an attribute.
assertAttributeNotCount(int $expectedCount, string $haystackAttributeName, mixed $haystackClassOrObject[, string $message = '' ]) : mixed
Parameters
- $expectedCount : int
- $haystackAttributeName : string
- $haystackClassOrObject : mixed
- $message : string = ''
Tags
assertAttributeNotEmpty()
Asserts that a static attribute of a class or an attribute of an object is not empty.
assertAttributeNotEmpty(string $haystackAttributeName, mixed $haystackClassOrObject[, string $message = '' ]) : mixed
Parameters
- $haystackAttributeName : string
- $haystackClassOrObject : mixed
- $message : string = ''
Tags
assertAttributeNotEquals()
Asserts that a variable is not equal to an attribute of an object.
assertAttributeNotEquals(mixed $expected, string $actualAttributeName, string $actualClassOrObject[, string $message = '' ][, float $delta = 0.0 ][, int $maxDepth = 10 ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : mixed
Parameters
- $expected : mixed
- $actualAttributeName : string
- $actualClassOrObject : string
- $message : string = ''
- $delta : float = 0.0
- $maxDepth : int = 10
- $canonicalize : bool = false
- $ignoreCase : bool = false
assertAttributeNotInstanceOf()
Asserts that an attribute is of a given type.
assertAttributeNotInstanceOf(string $expected, string $attributeName, mixed $classOrObject[, string $message = '' ]) : mixed
Parameters
- $expected : string
- $attributeName : string
- $classOrObject : mixed
- $message : string = ''
Tags
assertAttributeNotInternalType()
Asserts that an attribute is of a given type.
assertAttributeNotInternalType(string $expected, string $attributeName, mixed $classOrObject[, string $message = '' ]) : mixed
Parameters
- $expected : string
- $attributeName : string
- $classOrObject : mixed
- $message : string = ''
Tags
assertAttributeNotSame()
Asserts that a variable and an attribute of an object do not have the same type and value.
assertAttributeNotSame(mixed $expected, string $actualAttributeName, object $actualClassOrObject[, string $message = '' ]) : mixed
Parameters
- $expected : mixed
- $actualAttributeName : string
- $actualClassOrObject : object
- $message : string = ''
assertAttributeSame()
Asserts that a variable and an attribute of an object have the same type and value.
assertAttributeSame(mixed $expected, string $actualAttributeName, object $actualClassOrObject[, string $message = '' ]) : mixed
Parameters
- $expected : mixed
- $actualAttributeName : string
- $actualClassOrObject : object
- $message : string = ''
assertClassHasAttribute()
Asserts that a class has a specified attribute.
assertClassHasAttribute(string $attributeName, string $className[, string $message = '' ]) : mixed
Parameters
- $attributeName : string
- $className : string
- $message : string = ''
Tags
assertClassHasStaticAttribute()
Asserts that a class has a specified static attribute.
assertClassHasStaticAttribute(string $attributeName, string $className[, string $message = '' ]) : mixed
Parameters
- $attributeName : string
- $className : string
- $message : string = ''
Tags
assertClassNotHasAttribute()
Asserts that a class does not have a specified attribute.
assertClassNotHasAttribute(string $attributeName, string $className[, string $message = '' ]) : mixed
Parameters
- $attributeName : string
- $className : string
- $message : string = ''
Tags
assertClassNotHasStaticAttribute()
Asserts that a class does not have a specified static attribute.
assertClassNotHasStaticAttribute(string $attributeName, string $className[, string $message = '' ]) : mixed
Parameters
- $attributeName : string
- $className : string
- $message : string = ''
Tags
assertContains()
Asserts that a haystack contains a needle.
assertContains(mixed $needle, mixed $haystack[, string $message = '' ][, bool $ignoreCase = false ][, bool $checkForObjectIdentity = true ][, bool $checkForNonObjectIdentity = false ]) : mixed
Parameters
- $needle : mixed
- $haystack : mixed
- $message : string = ''
- $ignoreCase : bool = false
- $checkForObjectIdentity : bool = true
- $checkForNonObjectIdentity : bool = false
Tags
assertContainsOnly()
Asserts that a haystack contains only values of a given type.
assertContainsOnly(string $type, mixed $haystack[, bool $isNativeType = null ][, string $message = '' ]) : mixed
Parameters
- $type : string
- $haystack : mixed
- $isNativeType : bool = null
- $message : string = ''
Tags
assertContainsOnlyInstancesOf()
Asserts that a haystack contains only instances of a given classname
assertContainsOnlyInstancesOf(string $classname, array<string|int, mixed>|Traversable $haystack[, string $message = '' ]) : mixed
Parameters
- $classname : string
- $haystack : array<string|int, mixed>|Traversable
- $message : string = ''
assertCount()
Asserts the number of elements of an array, Countable or Traversable.
assertCount(int $expectedCount, mixed $haystack[, string $message = '' ]) : mixed
Parameters
- $expectedCount : int
- $haystack : mixed
- $message : string = ''
assertEmpty()
Asserts that a variable is empty.
assertEmpty(mixed $actual[, string $message = '' ]) : mixed
Parameters
- $actual : mixed
- $message : string = ''
Tags
assertEqualXMLStructure()
Asserts that a hierarchy of DOMElements matches.
assertEqualXMLStructure(DOMElement $expectedElement, DOMElement $actualElement[, bool $checkAttributes = false ][, string $message = '' ]) : mixed
Parameters
- $expectedElement : DOMElement
- $actualElement : DOMElement
- $checkAttributes : bool = false
- $message : string = ''
Tags
assertEquals()
Asserts that two variables are equal.
assertEquals(mixed $expected, mixed $actual[, string $message = '' ][, float $delta = 0.0 ][, int $maxDepth = 10 ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : mixed
Parameters
- $expected : mixed
- $actual : mixed
- $message : string = ''
- $delta : float = 0.0
- $maxDepth : int = 10
- $canonicalize : bool = false
- $ignoreCase : bool = false
assertNotTrue()
Asserts that a condition is not true.
assertNotTrue(bool $condition[, string $message = '' ]) : mixed
Parameters
- $condition : bool
- $message : string = ''
Tags
assertFalse()
Asserts that a condition is false.
assertFalse(bool $condition[, string $message = '' ]) : mixed
Parameters
- $condition : bool
- $message : string = ''
Tags
assertFileEquals()
Asserts that the contents of one file is equal to the contents of another file.
assertFileEquals(string $expected, string $actual[, string $message = '' ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : mixed
Parameters
- $expected : string
- $actual : string
- $message : string = ''
- $canonicalize : bool = false
- $ignoreCase : bool = false
Tags
assertFileExists()
Asserts that a file exists.
assertFileExists(string $filename[, string $message = '' ]) : mixed
Parameters
- $filename : string
- $message : string = ''
Tags
assertFileNotEquals()
Asserts that the contents of one file is not equal to the contents of another file.
assertFileNotEquals(string $expected, string $actual[, string $message = '' ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : mixed
Parameters
- $expected : string
- $actual : string
- $message : string = ''
- $canonicalize : bool = false
- $ignoreCase : bool = false
Tags
assertFileNotExists()
Asserts that a file does not exist.
assertFileNotExists(string $filename[, string $message = '' ]) : mixed
Parameters
- $filename : string
- $message : string = ''
Tags
assertGreaterThan()
Asserts that a value is greater than another value.
assertGreaterThan(mixed $expected, mixed $actual[, string $message = '' ]) : mixed
Parameters
- $expected : mixed
- $actual : mixed
- $message : string = ''
Tags
assertGreaterThanOrEqual()
Asserts that a value is greater than or equal to another value.
assertGreaterThanOrEqual(mixed $expected, mixed $actual[, string $message = '' ]) : mixed
Parameters
- $expected : mixed
- $actual : mixed
- $message : string = ''
Tags
assertInstanceOf()
Asserts that a variable is of a given type.
assertInstanceOf(string $expected, mixed $actual[, string $message = '' ]) : mixed
Parameters
- $expected : string
- $actual : mixed
- $message : string = ''
Tags
assertInternalType()
Asserts that a variable is of a given type.
assertInternalType(string $expected, mixed $actual[, string $message = '' ]) : mixed
Parameters
- $expected : string
- $actual : mixed
- $message : string = ''
Tags
assertJson()
Asserts that a string is a valid JSON string.
assertJson(string $actualJson[, string $message = '' ]) : mixed
Parameters
- $actualJson : string
- $message : string = ''
Tags
assertJsonFileEqualsJsonFile()
Asserts that two JSON files are equal.
assertJsonFileEqualsJsonFile(string $expectedFile, string $actualFile[, string $message = '' ]) : mixed
Parameters
- $expectedFile : string
- $actualFile : string
- $message : string = ''
assertJsonFileNotEqualsJsonFile()
Asserts that two JSON files are not equal.
assertJsonFileNotEqualsJsonFile(string $expectedFile, string $actualFile[, string $message = '' ]) : mixed
Parameters
- $expectedFile : string
- $actualFile : string
- $message : string = ''
assertJsonStringEqualsJsonFile()
Asserts that the generated JSON encoded object and the content of the given file are equal.
assertJsonStringEqualsJsonFile(string $expectedFile, string $actualJson[, string $message = '' ]) : mixed
Parameters
- $expectedFile : string
- $actualJson : string
- $message : string = ''
assertJsonStringEqualsJsonString()
Asserts that two given JSON encoded objects or arrays are equal.
assertJsonStringEqualsJsonString(string $expectedJson, string $actualJson[, string $message = '' ]) : mixed
Parameters
- $expectedJson : string
- $actualJson : string
- $message : string = ''
assertJsonStringNotEqualsJsonFile()
Asserts that the generated JSON encoded object and the content of the given file are not equal.
assertJsonStringNotEqualsJsonFile(string $expectedFile, string $actualJson[, string $message = '' ]) : mixed
Parameters
- $expectedFile : string
- $actualJson : string
- $message : string = ''
assertJsonStringNotEqualsJsonString()
Asserts that two given JSON encoded objects or arrays are not equal.
assertJsonStringNotEqualsJsonString(string $expectedJson, string $actualJson[, string $message = '' ]) : mixed
Parameters
- $expectedJson : string
- $actualJson : string
- $message : string = ''
assertLessThan()
Asserts that a value is smaller than another value.
assertLessThan(mixed $expected, mixed $actual[, string $message = '' ]) : mixed
Parameters
- $expected : mixed
- $actual : mixed
- $message : string = ''
Tags
assertLessThanOrEqual()
Asserts that a value is smaller than or equal to another value.
assertLessThanOrEqual(mixed $expected, mixed $actual[, string $message = '' ]) : mixed
Parameters
- $expected : mixed
- $actual : mixed
- $message : string = ''
Tags
assertNotContains()
Asserts that a haystack does not contain a needle.
assertNotContains(mixed $needle, mixed $haystack[, string $message = '' ][, bool $ignoreCase = false ][, bool $checkForObjectIdentity = true ][, bool $checkForNonObjectIdentity = false ]) : mixed
Parameters
- $needle : mixed
- $haystack : mixed
- $message : string = ''
- $ignoreCase : bool = false
- $checkForObjectIdentity : bool = true
- $checkForNonObjectIdentity : bool = false
Tags
assertNotContainsOnly()
Asserts that a haystack does not contain only values of a given type.
assertNotContainsOnly(string $type, mixed $haystack[, bool $isNativeType = null ][, string $message = '' ]) : mixed
Parameters
- $type : string
- $haystack : mixed
- $isNativeType : bool = null
- $message : string = ''
Tags
assertNotCount()
Asserts the number of elements of an array, Countable or Traversable.
assertNotCount(int $expectedCount, mixed $haystack[, string $message = '' ]) : mixed
Parameters
- $expectedCount : int
- $haystack : mixed
- $message : string = ''
assertNotEmpty()
Asserts that a variable is not empty.
assertNotEmpty(mixed $actual[, string $message = '' ]) : mixed
Parameters
- $actual : mixed
- $message : string = ''
Tags
assertNotEquals()
Asserts that two variables are not equal.
assertNotEquals(mixed $expected, mixed $actual[, string $message = '' ][, float $delta = 0.0 ][, int $maxDepth = 10 ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : mixed
Parameters
- $expected : mixed
- $actual : mixed
- $message : string = ''
- $delta : float = 0.0
- $maxDepth : int = 10
- $canonicalize : bool = false
- $ignoreCase : bool = false
Tags
assertNotInstanceOf()
Asserts that a variable is not of a given type.
assertNotInstanceOf(string $expected, mixed $actual[, string $message = '' ]) : mixed
Parameters
- $expected : string
- $actual : mixed
- $message : string = ''
Tags
assertNotInternalType()
Asserts that a variable is not of a given type.
assertNotInternalType(string $expected, mixed $actual[, string $message = '' ]) : mixed
Parameters
- $expected : string
- $actual : mixed
- $message : string = ''
Tags
assertNotFalse()
Asserts that a condition is not false.
assertNotFalse(bool $condition[, string $message = '' ]) : mixed
Parameters
- $condition : bool
- $message : string = ''
Tags
assertNotNull()
Asserts that a variable is not null.
assertNotNull(mixed $actual[, string $message = '' ]) : mixed
Parameters
- $actual : mixed
- $message : string = ''
assertNotRegExp()
Asserts that a string does not match a given regular expression.
assertNotRegExp(string $pattern, string $string[, string $message = '' ]) : mixed
Parameters
- $pattern : string
- $string : string
- $message : string = ''
Tags
assertNotSame()
Asserts that two variables do not have the same type and value.
assertNotSame(mixed $expected, mixed $actual[, string $message = '' ]) : mixed
Used on objects, it asserts that two variables do not reference the same object.
Parameters
- $expected : mixed
- $actual : mixed
- $message : string = ''
assertNotSameSize()
Assert that the size of two arrays (or `Countable` or `Traversable` objects) is not the same.
assertNotSameSize(array<string|int, mixed>|Countable|Traversable $expected, array<string|int, mixed>|Countable|Traversable $actual[, string $message = '' ]) : mixed
Parameters
- $expected : array<string|int, mixed>|Countable|Traversable
- $actual : array<string|int, mixed>|Countable|Traversable
- $message : string = ''
assertNotTag()
This assertion is the exact opposite of assertTag().
assertNotTag(array<string|int, mixed> $matcher, string $actual[, string $message = '' ][, bool $isHtml = true ]) : mixed
Rather than asserting that $matcher results in a match, it asserts that $matcher does not match.
Parameters
- $matcher : array<string|int, mixed>
- $actual : string
- $message : string = ''
- $isHtml : bool = true
Tags
assertNull()
Asserts that a variable is null.
assertNull(mixed $actual[, string $message = '' ]) : mixed
Parameters
- $actual : mixed
- $message : string = ''
assertObjectHasAttribute()
Asserts that an object has a specified attribute.
assertObjectHasAttribute(string $attributeName, object $object[, string $message = '' ]) : mixed
Parameters
- $attributeName : string
- $object : object
- $message : string = ''
Tags
assertObjectNotHasAttribute()
Asserts that an object does not have a specified attribute.
assertObjectNotHasAttribute(string $attributeName, object $object[, string $message = '' ]) : mixed
Parameters
- $attributeName : string
- $object : object
- $message : string = ''
Tags
assertRegExp()
Asserts that a string matches a given regular expression.
assertRegExp(string $pattern, string $string[, string $message = '' ]) : mixed
Parameters
- $pattern : string
- $string : string
- $message : string = ''
assertSame()
Asserts that two variables have the same type and value.
assertSame(mixed $expected, mixed $actual[, string $message = '' ]) : mixed
Used on objects, it asserts that two variables reference the same object.
Parameters
- $expected : mixed
- $actual : mixed
- $message : string = ''
assertSameSize()
Assert that the size of two arrays (or `Countable` or `Traversable` objects) is the same.
assertSameSize(array<string|int, mixed>|Countable|Traversable $expected, array<string|int, mixed>|Countable|Traversable $actual[, string $message = '' ]) : mixed
Parameters
- $expected : array<string|int, mixed>|Countable|Traversable
- $actual : array<string|int, mixed>|Countable|Traversable
- $message : string = ''
assertSelectCount()
Assert the presence, absence, or count of elements in a document matching the CSS $selector, regardless of the contents of those elements.
assertSelectCount(array<string|int, mixed> $selector, int $count, mixed $actual[, string $message = '' ][, bool $isHtml = true ]) : mixed
The first argument, $selector, is the CSS selector used to match the elements in the $actual document.
The second argument, $count, can be either boolean or numeric. When boolean, it asserts for presence of elements matching the selector (true) or absence of elements (false). When numeric, it asserts the count of elements.
assertSelectCount("#binder", true, $xml); // any? assertSelectCount(".binder", 3, $xml); // exactly 3?
Parameters
- $selector : array<string|int, mixed>
- $count : int
- $actual : mixed
- $message : string = ''
- $isHtml : bool = true
Tags
assertSelectEquals()
assertSelectEquals("#binder .name", "Chuck", true, $xml); // any? assertSelectEquals("#binder .name", "Chuck", false, $xml); // none?
assertSelectEquals(array<string|int, mixed> $selector, string $content, int $count, mixed $actual[, string $message = '' ][, bool $isHtml = true ]) : mixed
Parameters
- $selector : array<string|int, mixed>
- $content : string
- $count : int
- $actual : mixed
- $message : string = ''
- $isHtml : bool = true
Tags
assertSelectRegExp()
assertSelectRegExp("#binder .name", "/Mike|Derek/", true, $xml); // any? assertSelectRegExp("#binder .name", "/Mike|Derek/", 3, $xml);// 3?
assertSelectRegExp(array<string|int, mixed> $selector, string $pattern, int $count, mixed $actual[, string $message = '' ][, bool $isHtml = true ]) : mixed
Parameters
- $selector : array<string|int, mixed>
- $pattern : string
- $count : int
- $actual : mixed
- $message : string = ''
- $isHtml : bool = true
Tags
assertStringEndsNotWith()
Asserts that a string ends not with a given prefix.
assertStringEndsNotWith(string $suffix, string $string[, string $message = '' ]) : mixed
Parameters
- $suffix : string
- $string : string
- $message : string = ''
Tags
assertStringEndsWith()
Asserts that a string ends with a given prefix.
assertStringEndsWith(string $suffix, string $string[, string $message = '' ]) : mixed
Parameters
- $suffix : string
- $string : string
- $message : string = ''
Tags
assertStringEqualsFile()
Asserts that the contents of a string is equal to the contents of a file.
assertStringEqualsFile(string $expectedFile, string $actualString[, string $message = '' ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : mixed
Parameters
- $expectedFile : string
- $actualString : string
- $message : string = ''
- $canonicalize : bool = false
- $ignoreCase : bool = false
Tags
assertStringMatchesFormat()
Asserts that a string matches a given format string.
assertStringMatchesFormat(string $format, string $string[, string $message = '' ]) : mixed
Parameters
- $format : string
- $string : string
- $message : string = ''
Tags
assertStringMatchesFormatFile()
Asserts that a string matches a given format file.
assertStringMatchesFormatFile(string $formatFile, string $string[, string $message = '' ]) : mixed
Parameters
- $formatFile : string
- $string : string
- $message : string = ''
Tags
assertStringNotEqualsFile()
Asserts that the contents of a string is not equal to the contents of a file.
assertStringNotEqualsFile(string $expectedFile, string $actualString[, string $message = '' ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : mixed
Parameters
- $expectedFile : string
- $actualString : string
- $message : string = ''
- $canonicalize : bool = false
- $ignoreCase : bool = false
Tags
assertStringNotMatchesFormat()
Asserts that a string does not match a given format string.
assertStringNotMatchesFormat(string $format, string $string[, string $message = '' ]) : mixed
Parameters
- $format : string
- $string : string
- $message : string = ''
Tags
assertStringNotMatchesFormatFile()
Asserts that a string does not match a given format string.
assertStringNotMatchesFormatFile(string $formatFile, string $string[, string $message = '' ]) : mixed
Parameters
- $formatFile : string
- $string : string
- $message : string = ''
Tags
assertStringStartsNotWith()
Asserts that a string starts not with a given prefix.
assertStringStartsNotWith(string $prefix, string $string[, string $message = '' ]) : mixed
Parameters
- $prefix : string
- $string : string
- $message : string = ''
Tags
assertStringStartsWith()
Asserts that a string starts with a given prefix.
assertStringStartsWith(string $prefix, string $string[, string $message = '' ]) : mixed
Parameters
- $prefix : string
- $string : string
- $message : string = ''
Tags
assertTag()
Evaluate an HTML or XML string and assert its structure and/or contents.
assertTag(array<string|int, mixed> $matcher, string $actual[, string $message = '' ][, bool $isHtml = true ]) : mixed
The first argument ($matcher) is an associative array that specifies the match criteria for the assertion:
-
id
: the node with the given id attribute must match the corresponding value. -
tag
: the node type must match the corresponding value. -
attributes
: a hash. The node's attributes must match the corresponding values in the hash. -
content
: The text content must match the given value. -
parent
: a hash. The node's parent must match the corresponding hash. -
child
: a hash. At least one of the node's immediate children must meet the criteria described by the hash. -
ancestor
: a hash. At least one of the node's ancestors must meet the criteria described by the hash. -
descendant
: a hash. At least one of the node's descendants must meet the criteria described by the hash. -
children
: a hash, for counting children of a node. Accepts the keys: -
count
: a number which must equal the number of children that match -
less_than
: the number of matching children must be greater than this number -
greater_than
: the number of matching children must be less than this number -
only
: another hash consisting of the keys to use to match on the children, and only matching children will be counted
// Matcher that asserts that there is an element with an id="my_id".
$matcher = array('id' => 'my_id');
// Matcher that asserts that there is a "span" tag.
$matcher = array('tag' => 'span');
// Matcher that asserts that there is a "span" tag with the content
// "Hello World".
$matcher = array('tag' => 'span', 'content' => 'Hello World');
// Matcher that asserts that there is a "span" tag with content matching
// the regular expression pattern.
$matcher = array('tag' => 'span', 'content' => 'regexp:/Try P(HP|ython)/');
// Matcher that asserts that there is a "span" with an "list" class
// attribute.
$matcher = array(
'tag'=> 'span',
'attributes' => array('class' => 'list')
);
// Matcher that asserts that there is a "span" inside of a "div".
$matcher = array(
'tag'=> 'span',
'parent' => array('tag' => 'div')
);
// Matcher that asserts that there is a "span" somewhere inside a
// "table".
$matcher = array(
'tag' => 'span',
'ancestor' => array('tag' => 'table')
);
// Matcher that asserts that there is a "span" with at least one "em"
// child.
$matcher = array(
'tag' => 'span',
'child' => array('tag' => 'em')
);
// Matcher that asserts that there is a "span" containing a (possibly
// nested) "strong" tag.
$matcher = array(
'tag'=> 'span',
'descendant' => array('tag' => 'strong')
);
// Matcher that asserts that there is a "span" containing 5-10 "em" tags
// as immediate children.
$matcher = array(
'tag' => 'span',
'children' => array(
'less_than'=> 11,
'greater_than' => 4,
'only' => array('tag' => 'em')
)
);
// Matcher that asserts that there is a "div", with an "ul" ancestor and
// a "li" parent (with class="enum"), and containing a "span" descendant
// that contains an element with id="my_test" and the text "Hello World".
$matcher = array(
'tag'=> 'div',
'ancestor' => array('tag' => 'ul'),
'parent' => array(
'tag'=> 'li',
'attributes' => array('class' => 'enum')
),
'descendant' => array(
'tag' => 'span',
'child' => array(
'id' => 'my_test',
'content' => 'Hello World'
)
)
);
// Use assertTag() to apply a $matcher to a piece of $html.
$this->assertTag($matcher, $html);
// Use assertTag() to apply a $matcher to a piece of $xml.
$this->assertTag($matcher, $xml, '', false);
The second argument ($actual) is a string containing either HTML or XML text to be tested.
The third argument ($message) is an optional message that will be used if the assertion fails.
The fourth argument ($html) is an optional flag specifying whether to load the $actual string into a DOMDocument using the HTML or XML load strategy. It is true by default, which assumes the HTML load strategy. In many cases, this will be acceptable for XML as well.
Parameters
- $matcher : array<string|int, mixed>
- $actual : string
- $message : string = ''
- $isHtml : bool = true
Tags
assertThat()
Evaluates a PHPUnit_Framework_Constraint matcher object.
assertThat(mixed $value, PHPUnit_Framework_Constraint $constraint[, string $message = '' ]) : mixed
Parameters
- $value : mixed
- $constraint : PHPUnit_Framework_Constraint
- $message : string = ''
Tags
assertTrue()
Asserts that a condition is true.
assertTrue(bool $condition[, string $message = '' ]) : mixed
Parameters
- $condition : bool
- $message : string = ''
Tags
assertXmlFileEqualsXmlFile()
Asserts that two XML files are equal.
assertXmlFileEqualsXmlFile(string $expectedFile, string $actualFile[, string $message = '' ]) : mixed
Parameters
- $expectedFile : string
- $actualFile : string
- $message : string = ''
Tags
assertXmlFileNotEqualsXmlFile()
Asserts that two XML files are not equal.
assertXmlFileNotEqualsXmlFile(string $expectedFile, string $actualFile[, string $message = '' ]) : mixed
Parameters
- $expectedFile : string
- $actualFile : string
- $message : string = ''
Tags
assertXmlStringEqualsXmlFile()
Asserts that two XML documents are equal.
assertXmlStringEqualsXmlFile(string $expectedFile, string $actualXml[, string $message = '' ]) : mixed
Parameters
- $expectedFile : string
- $actualXml : string
- $message : string = ''
Tags
assertXmlStringEqualsXmlString()
Asserts that two XML documents are equal.
assertXmlStringEqualsXmlString(string $expectedXml, string $actualXml[, string $message = '' ]) : mixed
Parameters
- $expectedXml : string
- $actualXml : string
- $message : string = ''
Tags
assertXmlStringNotEqualsXmlFile()
Asserts that two XML documents are not equal.
assertXmlStringNotEqualsXmlFile(string $expectedFile, string $actualXml[, string $message = '' ]) : mixed
Parameters
- $expectedFile : string
- $actualXml : string
- $message : string = ''
Tags
assertXmlStringNotEqualsXmlString()
Asserts that two XML documents are not equal.
assertXmlStringNotEqualsXmlString(string $expectedXml, string $actualXml[, string $message = '' ]) : mixed
Parameters
- $expectedXml : string
- $actualXml : string
- $message : string = ''
Tags
at()
Returns a matcher that matches when the method is executed at the given $index.
at(int $index) : PHPUnit_Framework_MockObject_Matcher_InvokedAtIndex
Parameters
- $index : int
Tags
atLeastOnce()
Returns a matcher that matches when the method is executed at least once.
atLeastOnce() : PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastOnce
Tags
attribute()
Returns a PHPUnit_Framework_Constraint_Attribute matcher object.
attribute(PHPUnit_Framework_Constraint $constraint, string $attributeName) : PHPUnit_Framework_Constraint_Attribute
Parameters
- $constraint : PHPUnit_Framework_Constraint
- $attributeName : string
Tags
attributeEqualTo()
Returns a PHPUnit_Framework_Constraint_IsEqual matcher object that is wrapped in a PHPUnit_Framework_Constraint_Attribute matcher object.
attributeEqualTo(string $attributeName, mixed $value[, float $delta = 0.0 ][, int $maxDepth = 10 ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : PHPUnit_Framework_Constraint_Attribute
Parameters
- $attributeName : string
- $value : mixed
- $delta : float = 0.0
- $maxDepth : int = 10
- $canonicalize : bool = false
- $ignoreCase : bool = false
Tags
callback()
Returns a PHPUnit_Framework_Constraint_Callback matcher object.
callback(callable $callback) : PHPUnit_Framework_Constraint_Callback
Parameters
- $callback : callable
classHasAttribute()
Returns a PHPUnit_Framework_Constraint_ClassHasAttribute matcher object.
classHasAttribute(string $attributeName) : PHPUnit_Framework_Constraint_ClassHasAttribute
Parameters
- $attributeName : string
Tags
classHasStaticAttribute()
Returns a PHPUnit_Framework_Constraint_ClassHasStaticAttribute matcher object.
classHasStaticAttribute(string $attributeName) : PHPUnit_Framework_Constraint_ClassHasStaticAttribute
Parameters
- $attributeName : string
Tags
contains()
Returns a PHPUnit_Framework_Constraint_TraversableContains matcher object.
contains(mixed $value[, bool $checkForObjectIdentity = true ][, bool $checkForNonObjectIdentity = false ]) : PHPUnit_Framework_Constraint_TraversableContains
Parameters
- $value : mixed
- $checkForObjectIdentity : bool = true
- $checkForNonObjectIdentity : bool = false
Tags
containsOnly()
Returns a PHPUnit_Framework_Constraint_TraversableContainsOnly matcher object.
containsOnly(string $type) : PHPUnit_Framework_Constraint_TraversableContainsOnly
Parameters
- $type : string
Tags
containsOnlyInstancesOf()
Returns a PHPUnit_Framework_Constraint_TraversableContainsOnly matcher object.
containsOnlyInstancesOf(string $classname) : PHPUnit_Framework_Constraint_TraversableContainsOnly
Parameters
- $classname : string
equalTo()
Returns a PHPUnit_Framework_Constraint_IsEqual matcher object.
equalTo(mixed $value[, float $delta = 0.0 ][, int $maxDepth = 10 ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : PHPUnit_Framework_Constraint_IsEqual
Parameters
- $value : mixed
- $delta : float = 0.0
- $maxDepth : int = 10
- $canonicalize : bool = false
- $ignoreCase : bool = false
Tags
exactly()
Returns a matcher that matches when the method is executed exactly $count times.
exactly(int $count) : PHPUnit_Framework_MockObject_Matcher_InvokedCount
Parameters
- $count : int
Tags
fileExists()
Returns a PHPUnit_Framework_Constraint_FileExists matcher object.
fileExists() : PHPUnit_Framework_Constraint_FileExists
Tags
greaterThan()
Returns a PHPUnit_Framework_Constraint_GreaterThan matcher object.
greaterThan(mixed $value) : PHPUnit_Framework_Constraint_GreaterThan
Parameters
- $value : mixed
Tags
greaterThanOrEqual()
Returns a PHPUnit_Framework_Constraint_Or matcher object that wraps a PHPUnit_Framework_Constraint_IsEqual and a PHPUnit_Framework_Constraint_GreaterThan matcher object.
greaterThanOrEqual(mixed $value) : PHPUnit_Framework_Constraint_Or
Parameters
- $value : mixed
Tags
identicalTo()
Returns a PHPUnit_Framework_Constraint_IsIdentical matcher object.
identicalTo(mixed $value) : PHPUnit_Framework_Constraint_IsIdentical
Parameters
- $value : mixed
Tags
isEmpty()
Returns a PHPUnit_Framework_Constraint_IsEmpty matcher object.
isEmpty() : PHPUnit_Framework_Constraint_IsEmpty
Tags
isFalse()
Returns a PHPUnit_Framework_Constraint_IsFalse matcher object.
isFalse() : PHPUnit_Framework_Constraint_IsFalse
Tags
isInstanceOf()
Returns a PHPUnit_Framework_Constraint_IsInstanceOf matcher object.
isInstanceOf(string $className) : PHPUnit_Framework_Constraint_IsInstanceOf
Parameters
- $className : string
Tags
isJson()
Returns a PHPUnit_Framework_Constraint_IsJson matcher object.
isJson() : PHPUnit_Framework_Constraint_IsJson
Tags
isNull()
Returns a PHPUnit_Framework_Constraint_IsNull matcher object.
isNull() : PHPUnit_Framework_Constraint_IsNull
Tags
isTrue()
Returns a PHPUnit_Framework_Constraint_IsTrue matcher object.
isTrue() : PHPUnit_Framework_Constraint_IsTrue
Tags
isType()
Returns a PHPUnit_Framework_Constraint_IsType matcher object.
isType(string $type) : PHPUnit_Framework_Constraint_IsType
Parameters
- $type : string
Tags
lessThan()
Returns a PHPUnit_Framework_Constraint_LessThan matcher object.
lessThan(mixed $value) : PHPUnit_Framework_Constraint_LessThan
Parameters
- $value : mixed
Tags
lessThanOrEqual()
Returns a PHPUnit_Framework_Constraint_Or matcher object that wraps a PHPUnit_Framework_Constraint_IsEqual and a PHPUnit_Framework_Constraint_LessThan matcher object.
lessThanOrEqual(mixed $value) : PHPUnit_Framework_Constraint_Or
Parameters
- $value : mixed
Tags
logicalAnd()
Returns a PHPUnit_Framework_Constraint_And matcher object.
logicalAnd() : PHPUnit_Framework_Constraint_And
Tags
logicalNot()
Returns a PHPUnit_Framework_Constraint_Not matcher object.
logicalNot(PHPUnit_Framework_Constraint $constraint) : PHPUnit_Framework_Constraint_Not
Parameters
- $constraint : PHPUnit_Framework_Constraint
Tags
logicalOr()
Returns a PHPUnit_Framework_Constraint_Or matcher object.
logicalOr() : PHPUnit_Framework_Constraint_Or
Tags
logicalXor()
Returns a PHPUnit_Framework_Constraint_Xor matcher object.
logicalXor() : PHPUnit_Framework_Constraint_Xor
Tags
matches()
Returns a PHPUnit_Framework_Constraint_StringMatches matcher object.
matches(string $string) : PHPUnit_Framework_Constraint_StringMatches
Parameters
- $string : string
Tags
matchesRegularExpression()
Returns a PHPUnit_Framework_Constraint_PCREMatch matcher object.
matchesRegularExpression(string $pattern) : PHPUnit_Framework_Constraint_PCREMatch
Parameters
- $pattern : string
Tags
never()
Returns a matcher that matches when the method is never executed.
never() : PHPUnit_Framework_MockObject_Matcher_InvokedCount
Tags
objectHasAttribute()
Returns a PHPUnit_Framework_Constraint_ObjectHasAttribute matcher object.
objectHasAttribute(string $attributeName) : PHPUnit_Framework_Constraint_ObjectHasAttribute
Parameters
- $attributeName : string
Tags
onConsecutiveCalls()
onConsecutiveCalls() : PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls
Tags
once()
Returns a matcher that matches when the method is executed exactly once.
once() : PHPUnit_Framework_MockObject_Matcher_InvokedCount
Tags
returnArgument()
returnArgument(int $argumentIndex) : PHPUnit_Framework_MockObject_Stub_ReturnArgument
Parameters
- $argumentIndex : int
Tags
returnCallback()
returnCallback(mixed $callback) : PHPUnit_Framework_MockObject_Stub_ReturnCallback
Parameters
- $callback : mixed
Tags
returnSelf()
Returns the current object.
returnSelf() : PHPUnit_Framework_MockObject_Stub_ReturnSelf
This method is useful when mocking a fluent interface.
Tags
returnValue()
returnValue(mixed $value) : PHPUnit_Framework_MockObject_Stub_Return
Parameters
- $value : mixed
Tags
returnValueMap()
returnValueMap(array<string|int, mixed> $valueMap) : PHPUnit_Framework_MockObject_Stub_ReturnValueMap
Parameters
- $valueMap : array<string|int, mixed>
Tags
stringContains()
Returns a PHPUnit_Framework_Constraint_StringContains matcher object.
stringContains(string $string[, bool $case = true ]) : PHPUnit_Framework_Constraint_StringContains
Parameters
- $string : string
- $case : bool = true
Tags
stringEndsWith()
Returns a PHPUnit_Framework_Constraint_StringEndsWith matcher object.
stringEndsWith(mixed $suffix) : PHPUnit_Framework_Constraint_StringEndsWith
Parameters
- $suffix : mixed
Tags
stringStartsWith()
Returns a PHPUnit_Framework_Constraint_StringStartsWith matcher object.
stringStartsWith(mixed $prefix) : PHPUnit_Framework_Constraint_StringStartsWith
Parameters
- $prefix : mixed
Tags
throwException()
throwException(Exception $exception) : PHPUnit_Framework_MockObject_Stub_Exception
Parameters
- $exception : Exception
Tags
trait_exists()
trait_exists(mixed $traitname[, mixed $autoload = true ]) : mixed
Parameters
- $traitname : mixed
- $autoload : mixed = true
globalFunction()
globalFunction() : mixed
func()
func() : mixed
trait_exists()
trait_exists(mixed $traitname[, mixed $autoload = true ]) : mixed
Parameters
- $traitname : mixed
- $autoload : mixed = true
functionCallback()
functionCallback() : mixed
getallheaders()
Get all HTTP header key/values as an associative array for the current request.
getallheaders() : mixed
snapshotFunction()
snapshotFunction() : mixed
trigger_deprecation()
Triggers a silenced deprecation notice.
trigger_deprecation(string $package, string $version, string $message, mixed ...$args) : void
Parameters
- $package : string
-
The name of the Composer package that is triggering the deprecation
- $version : string
-
The version of the package that introduced the deprecation
- $message : string
-
The message of the deprecation
- $args : mixed
-
Values to insert in the message using printf() formatting
Tags
ctype_alnum()
ctype_alnum(mixed $text) : mixed
Parameters
- $text : mixed
ctype_alpha()
ctype_alpha(mixed $text) : mixed
Parameters
- $text : mixed
ctype_cntrl()
ctype_cntrl(mixed $text) : mixed
Parameters
- $text : mixed
ctype_digit()
ctype_digit(mixed $text) : mixed
Parameters
- $text : mixed
ctype_graph()
ctype_graph(mixed $text) : mixed
Parameters
- $text : mixed
ctype_lower()
ctype_lower(mixed $text) : mixed
Parameters
- $text : mixed
ctype_print()
ctype_print(mixed $text) : mixed
Parameters
- $text : mixed
ctype_punct()
ctype_punct(mixed $text) : mixed
Parameters
- $text : mixed
ctype_space()
ctype_space(mixed $text) : mixed
Parameters
- $text : mixed
ctype_upper()
ctype_upper(mixed $text) : mixed
Parameters
- $text : mixed
ctype_xdigit()
ctype_xdigit(mixed $text) : mixed
Parameters
- $text : mixed
ctype_alnum()
ctype_alnum(mixed $text) : bool
Parameters
- $text : mixed
ctype_alpha()
ctype_alpha(mixed $text) : bool
Parameters
- $text : mixed
ctype_cntrl()
ctype_cntrl(mixed $text) : bool
Parameters
- $text : mixed
ctype_digit()
ctype_digit(mixed $text) : bool
Parameters
- $text : mixed
ctype_graph()
ctype_graph(mixed $text) : bool
Parameters
- $text : mixed
ctype_lower()
ctype_lower(mixed $text) : bool
Parameters
- $text : mixed
ctype_print()
ctype_print(mixed $text) : bool
Parameters
- $text : mixed
ctype_punct()
ctype_punct(mixed $text) : bool
Parameters
- $text : mixed
ctype_space()
ctype_space(mixed $text) : bool
Parameters
- $text : mixed
ctype_upper()
ctype_upper(mixed $text) : bool
Parameters
- $text : mixed
ctype_xdigit()
ctype_xdigit(mixed $text) : bool
Parameters
- $text : mixed
grapheme_extract()
grapheme_extract(mixed $haystack, mixed $size, mixed $type, mixed $start, mixed &$next) : mixed
Parameters
- $haystack : mixed
- $size : mixed
- $type : mixed
- $start : mixed
- $next : mixed
grapheme_stripos()
grapheme_stripos(mixed $haystack, mixed $needle, mixed $offset) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
- $offset : mixed
grapheme_stristr()
grapheme_stristr(mixed $haystack, mixed $needle[, mixed $beforeNeedle = false ]) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
- $beforeNeedle : mixed = false
grapheme_strlen()
grapheme_strlen(mixed $input) : mixed
Parameters
- $input : mixed
grapheme_strpos()
grapheme_strpos(mixed $haystack, mixed $needle, mixed $offset) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
- $offset : mixed
grapheme_strripos()
grapheme_strripos(mixed $haystack, mixed $needle, mixed $offset) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
- $offset : mixed
grapheme_strrpos()
grapheme_strrpos(mixed $haystack, mixed $needle, mixed $offset) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
- $offset : mixed
grapheme_strstr()
grapheme_strstr(mixed $haystack, mixed $needle[, mixed $beforeNeedle = false ]) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
- $beforeNeedle : mixed = false
grapheme_substr()
grapheme_substr(mixed $string, mixed $offset[, mixed $length = null ]) : mixed
Parameters
- $string : mixed
- $offset : mixed
- $length : mixed = null
grapheme_extract()
grapheme_extract(string|null $haystack, int|null $size[, int|null $type = GRAPHEME_EXTR_COUNT ], int|null $offset[, mixed &$next = null ]) : string|false
Parameters
- $haystack : string|null
- $size : int|null
- $type : int|null = GRAPHEME_EXTR_COUNT
- $offset : int|null
- $next : mixed = null
grapheme_stripos()
grapheme_stripos(string|null $haystack, string|null $needle, int|null $offset) : int|false
Parameters
- $haystack : string|null
- $needle : string|null
- $offset : int|null
grapheme_stristr()
grapheme_stristr(string|null $haystack, string|null $needle[, bool|null $beforeNeedle = false ]) : string|false
Parameters
- $haystack : string|null
- $needle : string|null
- $beforeNeedle : bool|null = false
grapheme_strlen()
grapheme_strlen(string|null $string) : int|false|null
Parameters
- $string : string|null
grapheme_strpos()
grapheme_strpos(string|null $haystack, string|null $needle, int|null $offset) : int|false
Parameters
- $haystack : string|null
- $needle : string|null
- $offset : int|null
grapheme_strripos()
grapheme_strripos(string|null $haystack, string|null $needle, int|null $offset) : int|false
Parameters
- $haystack : string|null
- $needle : string|null
- $offset : int|null
grapheme_strrpos()
grapheme_strrpos(string|null $haystack, string|null $needle, int|null $offset) : int|false
Parameters
- $haystack : string|null
- $needle : string|null
- $offset : int|null
grapheme_strstr()
grapheme_strstr(string|null $haystack, string|null $needle[, bool|null $beforeNeedle = false ]) : string|false
Parameters
- $haystack : string|null
- $needle : string|null
- $beforeNeedle : bool|null = false
grapheme_substr()
grapheme_substr(string|null $string, int|null $offset[, int|null $length = null ]) : string|false
Parameters
- $string : string|null
- $offset : int|null
- $length : int|null = null
idn_to_ascii()
idn_to_ascii(mixed $domain, mixed $flags[, mixed $variant = INTL_IDNA_VARIANT_UTS46 ][, mixed &$idna_info = null ]) : mixed
Parameters
- $domain : mixed
- $flags : mixed
- $variant : mixed = INTL_IDNA_VARIANT_UTS46
- $idna_info : mixed = null
idn_to_utf8()
idn_to_utf8(mixed $domain, mixed $flags[, mixed $variant = INTL_IDNA_VARIANT_UTS46 ][, mixed &$idna_info = null ]) : mixed
Parameters
- $domain : mixed
- $flags : mixed
- $variant : mixed = INTL_IDNA_VARIANT_UTS46
- $idna_info : mixed = null
idn_to_ascii()
idn_to_ascii(string|null $domain, int|null $flags[, int|null $variant = INTL_IDNA_VARIANT_UTS46 ][, mixed &$idna_info = null ]) : string|false
Parameters
- $domain : string|null
- $flags : int|null
- $variant : int|null = INTL_IDNA_VARIANT_UTS46
- $idna_info : mixed = null
idn_to_utf8()
idn_to_utf8(string|null $domain, int|null $flags[, int|null $variant = INTL_IDNA_VARIANT_UTS46 ][, mixed &$idna_info = null ]) : string|false
Parameters
- $domain : string|null
- $flags : int|null
- $variant : int|null = INTL_IDNA_VARIANT_UTS46
- $idna_info : mixed = null
normalizer_is_normalized()
normalizer_is_normalized(mixed $string[, mixed $form = pNormalizer::FORM_C ]) : mixed
Parameters
- $string : mixed
- $form : mixed = pNormalizer::FORM_C
normalizer_normalize()
normalizer_normalize(mixed $string[, mixed $form = pNormalizer::FORM_C ]) : mixed
Parameters
- $string : mixed
- $form : mixed = pNormalizer::FORM_C
normalizer_is_normalized()
normalizer_is_normalized(string|null $string[, int|null $form = pNormalizer::FORM_C ]) : bool
Parameters
- $string : string|null
- $form : int|null = pNormalizer::FORM_C
normalizer_normalize()
normalizer_normalize(string|null $string[, int|null $form = pNormalizer::FORM_C ]) : string|false
Parameters
- $string : string|null
- $form : int|null = pNormalizer::FORM_C
mb_convert_encoding()
mb_convert_encoding(mixed $string, mixed $to_encoding[, mixed $from_encoding = null ]) : mixed
Parameters
- $string : mixed
- $to_encoding : mixed
- $from_encoding : mixed = null
mb_decode_mimeheader()
mb_decode_mimeheader(mixed $string) : mixed
Parameters
- $string : mixed
mb_encode_mimeheader()
mb_encode_mimeheader(mixed $string[, mixed $charset = null ][, mixed $transfer_encoding = null ][, mixed $newline = "
" ], mixed $indent) : mixed
Parameters
- $string : mixed
- $charset : mixed = null
- $transfer_encoding : mixed = null
- $newline : mixed = " "
- $indent : mixed
mb_decode_numericentity()
mb_decode_numericentity(mixed $string, mixed $map[, mixed $encoding = null ]) : mixed
Parameters
- $string : mixed
- $map : mixed
- $encoding : mixed = null
mb_encode_numericentity()
mb_encode_numericentity(mixed $string, mixed $map[, mixed $encoding = null ][, mixed $hex = false ]) : mixed
Parameters
- $string : mixed
- $map : mixed
- $encoding : mixed = null
- $hex : mixed = false
mb_convert_case()
mb_convert_case(mixed $string, mixed $mode[, mixed $encoding = null ]) : mixed
Parameters
- $string : mixed
- $mode : mixed
- $encoding : mixed = null
mb_internal_encoding()
mb_internal_encoding([mixed $encoding = null ]) : mixed
Parameters
- $encoding : mixed = null
mb_language()
mb_language([mixed $language = null ]) : mixed
Parameters
- $language : mixed = null
mb_list_encodings()
mb_list_encodings() : mixed
mb_encoding_aliases()
mb_encoding_aliases(mixed $encoding) : mixed
Parameters
- $encoding : mixed
mb_check_encoding()
mb_check_encoding([mixed $value = null ][, mixed $encoding = null ]) : mixed
Parameters
- $value : mixed = null
- $encoding : mixed = null
mb_detect_encoding()
mb_detect_encoding(mixed $string[, mixed $encodings = null ][, mixed $strict = false ]) : mixed
Parameters
- $string : mixed
- $encodings : mixed = null
- $strict : mixed = false
mb_detect_order()
mb_detect_order([mixed $encoding = null ]) : mixed
Parameters
- $encoding : mixed = null
mb_parse_str()
mb_parse_str(mixed $string[, mixed &$result = [] ]) : mixed
Parameters
- $string : mixed
- $result : mixed = []
mb_strlen()
mb_strlen(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
- $string : mixed
- $encoding : mixed = null
mb_strpos()
mb_strpos(mixed $haystack, mixed $needle, mixed $offset[, mixed $encoding = null ]) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
- $offset : mixed
- $encoding : mixed = null
mb_strtolower()
mb_strtolower(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
- $string : mixed
- $encoding : mixed = null
mb_strtoupper()
mb_strtoupper(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
- $string : mixed
- $encoding : mixed = null
mb_substitute_character()
mb_substitute_character([mixed $substitute_character = null ]) : mixed
Parameters
- $substitute_character : mixed = null
mb_substr()
mb_substr(mixed $string, mixed $start[, mixed $length = 2147483647 ][, mixed $encoding = null ]) : mixed
Parameters
- $string : mixed
- $start : mixed
- $length : mixed = 2147483647
- $encoding : mixed = null
mb_stripos()
mb_stripos(mixed $haystack, mixed $needle, mixed $offset[, mixed $encoding = null ]) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
- $offset : mixed
- $encoding : mixed = null
mb_stristr()
mb_stristr(mixed $haystack, mixed $needle[, mixed $before_needle = false ][, mixed $encoding = null ]) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
- $before_needle : mixed = false
- $encoding : mixed = null
mb_strrchr()
mb_strrchr(mixed $haystack, mixed $needle[, mixed $before_needle = false ][, mixed $encoding = null ]) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
- $before_needle : mixed = false
- $encoding : mixed = null
mb_strrichr()
mb_strrichr(mixed $haystack, mixed $needle[, mixed $before_needle = false ][, mixed $encoding = null ]) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
- $before_needle : mixed = false
- $encoding : mixed = null
mb_strripos()
mb_strripos(mixed $haystack, mixed $needle, mixed $offset[, mixed $encoding = null ]) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
- $offset : mixed
- $encoding : mixed = null
mb_strrpos()
mb_strrpos(mixed $haystack, mixed $needle, mixed $offset[, mixed $encoding = null ]) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
- $offset : mixed
- $encoding : mixed = null
mb_strstr()
mb_strstr(mixed $haystack, mixed $needle[, mixed $before_needle = false ][, mixed $encoding = null ]) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
- $before_needle : mixed = false
- $encoding : mixed = null
mb_get_info()
mb_get_info([mixed $type = 'all' ]) : mixed
Parameters
- $type : mixed = 'all'
mb_http_output()
mb_http_output([mixed $encoding = null ]) : mixed
Parameters
- $encoding : mixed = null
mb_strwidth()
mb_strwidth(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
- $string : mixed
- $encoding : mixed = null
mb_substr_count()
mb_substr_count(mixed $haystack, mixed $needle[, mixed $encoding = null ]) : mixed
Parameters
- $haystack : mixed
- $needle : mixed
- $encoding : mixed = null
mb_output_handler()
mb_output_handler(mixed $string, mixed $status) : mixed
Parameters
- $string : mixed
- $status : mixed
mb_http_input()
mb_http_input([mixed $type = null ]) : mixed
Parameters
- $type : mixed = null
mb_convert_variables()
mb_convert_variables(mixed $to_encoding, mixed $from_encoding, mixed ...&$vars) : mixed
Parameters
- $to_encoding : mixed
- $from_encoding : mixed
- $vars : mixed
mb_ord()
mb_ord(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
- $string : mixed
- $encoding : mixed = null
mb_chr()
mb_chr(mixed $codepoint[, mixed $encoding = null ]) : mixed
Parameters
- $codepoint : mixed
- $encoding : mixed = null
mb_scrub()
mb_scrub(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
- $string : mixed
- $encoding : mixed = null
mb_str_split()
mb_str_split(mixed $string[, mixed $length = 1 ][, mixed $encoding = null ]) : mixed
Parameters
- $string : mixed
- $length : mixed = 1
- $encoding : mixed = null
mb_convert_encoding()
mb_convert_encoding(array<string|int, mixed>|string|null $string, string|null $to_encoding[, array<string|int, mixed>|string|null $from_encoding = null ]) : array<string|int, mixed>|string|false
Parameters
- $string : array<string|int, mixed>|string|null
- $to_encoding : string|null
- $from_encoding : array<string|int, mixed>|string|null = null
mb_decode_mimeheader()
mb_decode_mimeheader(string|null $string) : string
Parameters
- $string : string|null
mb_encode_mimeheader()
mb_encode_mimeheader(string|null $string[, string|null $charset = null ][, string|null $transfer_encoding = null ][, string|null $newline = "
" ], int|null $indent) : string
Parameters
- $string : string|null
- $charset : string|null = null
- $transfer_encoding : string|null = null
- $newline : string|null = " "
- $indent : int|null
mb_decode_numericentity()
mb_decode_numericentity(string|null $string, array<string|int, mixed> $map[, string|null $encoding = null ]) : string
Parameters
- $string : string|null
- $map : array<string|int, mixed>
- $encoding : string|null = null
mb_encode_numericentity()
mb_encode_numericentity(string|null $string, array<string|int, mixed> $map[, string|null $encoding = null ][, bool|null $hex = false ]) : string
Parameters
- $string : string|null
- $map : array<string|int, mixed>
- $encoding : string|null = null
- $hex : bool|null = false
mb_convert_case()
mb_convert_case(string|null $string, int|null $mode[, string|null $encoding = null ]) : string
Parameters
- $string : string|null
- $mode : int|null
- $encoding : string|null = null
mb_internal_encoding()
mb_internal_encoding([string|null $encoding = null ]) : string|bool
Parameters
- $encoding : string|null = null
mb_language()
mb_language([string|null $language = null ]) : string|bool
Parameters
- $language : string|null = null
mb_list_encodings()
mb_list_encodings() : array<string|int, mixed>
mb_encoding_aliases()
mb_encoding_aliases(string|null $encoding) : array<string|int, mixed>
Parameters
- $encoding : string|null
mb_check_encoding()
mb_check_encoding([array<string|int, mixed>|string|null $value = null ][, string|null $encoding = null ]) : bool
Parameters
- $value : array<string|int, mixed>|string|null = null
- $encoding : string|null = null
mb_detect_encoding()
mb_detect_encoding(string|null $string[, array<string|int, mixed>|string|null $encodings = null ][, bool|null $strict = false ]) : string|false
Parameters
- $string : string|null
- $encodings : array<string|int, mixed>|string|null = null
- $strict : bool|null = false
mb_detect_order()
mb_detect_order([array<string|int, mixed>|string|null $encoding = null ]) : array<string|int, mixed>|bool
Parameters
- $encoding : array<string|int, mixed>|string|null = null
mb_parse_str()
mb_parse_str(string|null $string[, mixed &$result = [] ]) : bool
Parameters
- $string : string|null
- $result : mixed = []
mb_strlen()
mb_strlen(string|null $string[, string|null $encoding = null ]) : int
Parameters
- $string : string|null
- $encoding : string|null = null
mb_strpos()
mb_strpos(string|null $haystack, string|null $needle, int|null $offset[, string|null $encoding = null ]) : int|false
Parameters
- $haystack : string|null
- $needle : string|null
- $offset : int|null
- $encoding : string|null = null
mb_strtolower()
mb_strtolower(string|null $string[, string|null $encoding = null ]) : string
Parameters
- $string : string|null
- $encoding : string|null = null
mb_strtoupper()
mb_strtoupper(string|null $string[, string|null $encoding = null ]) : string
Parameters
- $string : string|null
- $encoding : string|null = null
mb_substitute_character()
mb_substitute_character([string|int|null $substitute_character = null ]) : string|int|bool
Parameters
- $substitute_character : string|int|null = null
mb_substr()
mb_substr(string|null $string, int|null $start[, int|null $length = null ][, string|null $encoding = null ]) : string
Parameters
- $string : string|null
- $start : int|null
- $length : int|null = null
- $encoding : string|null = null
mb_stripos()
mb_stripos(string|null $haystack, string|null $needle, int|null $offset[, string|null $encoding = null ]) : int|false
Parameters
- $haystack : string|null
- $needle : string|null
- $offset : int|null
- $encoding : string|null = null
mb_stristr()
mb_stristr(string|null $haystack, string|null $needle[, bool|null $before_needle = false ][, string|null $encoding = null ]) : string|false
Parameters
- $haystack : string|null
- $needle : string|null
- $before_needle : bool|null = false
- $encoding : string|null = null
mb_strrchr()
mb_strrchr(string|null $haystack, string|null $needle[, bool|null $before_needle = false ][, string|null $encoding = null ]) : string|false
Parameters
- $haystack : string|null
- $needle : string|null
- $before_needle : bool|null = false
- $encoding : string|null = null
mb_strrichr()
mb_strrichr(string|null $haystack, string|null $needle[, bool|null $before_needle = false ][, string|null $encoding = null ]) : string|false
Parameters
- $haystack : string|null
- $needle : string|null
- $before_needle : bool|null = false
- $encoding : string|null = null
mb_strripos()
mb_strripos(string|null $haystack, string|null $needle, int|null $offset[, string|null $encoding = null ]) : int|false
Parameters
- $haystack : string|null
- $needle : string|null
- $offset : int|null
- $encoding : string|null = null
mb_strrpos()
mb_strrpos(string|null $haystack, string|null $needle, int|null $offset[, string|null $encoding = null ]) : int|false
Parameters
- $haystack : string|null
- $needle : string|null
- $offset : int|null
- $encoding : string|null = null
mb_strstr()
mb_strstr(string|null $haystack, string|null $needle[, bool|null $before_needle = false ][, string|null $encoding = null ]) : string|false
Parameters
- $haystack : string|null
- $needle : string|null
- $before_needle : bool|null = false
- $encoding : string|null = null
mb_get_info()
mb_get_info([string|null $type = 'all' ]) : array<string|int, mixed>|string|int|false
Parameters
- $type : string|null = 'all'
mb_http_output()
mb_http_output([string|null $encoding = null ]) : string|bool
Parameters
- $encoding : string|null = null
mb_strwidth()
mb_strwidth(string|null $string[, string|null $encoding = null ]) : int
Parameters
- $string : string|null
- $encoding : string|null = null
mb_substr_count()
mb_substr_count(string|null $haystack, string|null $needle[, string|null $encoding = null ]) : int
Parameters
- $haystack : string|null
- $needle : string|null
- $encoding : string|null = null
mb_output_handler()
mb_output_handler(string|null $string, int|null $status) : string
Parameters
- $string : string|null
- $status : int|null
mb_http_input()
mb_http_input([string|null $type = null ]) : array<string|int, mixed>|string|false
Parameters
- $type : string|null = null
mb_convert_variables()
mb_convert_variables(string|null $to_encoding, array<string|int, mixed>|string|null $from_encoding, mixed &$var, mixed ...&$vars) : string|false
Parameters
- $to_encoding : string|null
- $from_encoding : array<string|int, mixed>|string|null
- $var : mixed
- $vars : mixed
mb_ord()
mb_ord(string|null $string[, string|null $encoding = null ]) : int|false
Parameters
- $string : string|null
- $encoding : string|null = null
mb_chr()
mb_chr(int|null $codepoint[, string|null $encoding = null ]) : string|false
Parameters
- $codepoint : int|null
- $encoding : string|null = null
mb_scrub()
mb_scrub(string|null $string[, string|null $encoding = null ]) : string
Parameters
- $string : string|null
- $encoding : string|null = null
mb_str_split()
mb_str_split(string|null $string[, int|null $length = 1 ][, string|null $encoding = null ]) : array<string|int, mixed>
Parameters
- $string : string|null
- $length : int|null = 1
- $encoding : string|null = null
sapi_windows_vt100_support()
sapi_windows_vt100_support(mixed $stream[, mixed $enable = null ]) : mixed
Parameters
- $stream : mixed
- $enable : mixed = null
stream_isatty()
stream_isatty(mixed $stream) : mixed
Parameters
- $stream : mixed
utf8_encode()
utf8_encode(mixed $string) : mixed
Parameters
- $string : mixed
utf8_decode()
utf8_decode(mixed $string) : mixed
Parameters
- $string : mixed
spl_object_id()
spl_object_id(mixed $object) : mixed
Parameters
- $object : mixed
mb_ord()
mb_ord(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
- $string : mixed
- $encoding : mixed = null
mb_chr()
mb_chr(mixed $codepoint[, mixed $encoding = null ]) : mixed
Parameters
- $codepoint : mixed
- $encoding : mixed = null
mb_scrub()
mb_scrub(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
- $string : mixed
- $encoding : mixed = null
is_countable()
is_countable(mixed $value) : mixed
Parameters
- $value : mixed
hrtime()
hrtime([mixed $as_number = false ]) : mixed
Parameters
- $as_number : mixed = false
array_key_first()
array_key_first(array<string|int, mixed> $array) : mixed
Parameters
- $array : array<string|int, mixed>
array_key_last()
array_key_last(array<string|int, mixed> $array) : mixed
Parameters
- $array : array<string|int, mixed>
fdiv()
fdiv(float $num1, float $num2) : float
Parameters
- $num1 : float
- $num2 : float
preg_last_error_msg()
preg_last_error_msg() : string
str_contains()
str_contains(string $haystack, string $needle) : bool
Parameters
- $haystack : string
- $needle : string
str_starts_with()
str_starts_with(string $haystack, string $needle) : bool
Parameters
- $haystack : string
- $needle : string
str_ends_with()
str_ends_with(string $haystack, string $needle) : bool
Parameters
- $haystack : string
- $needle : string
get_debug_type()
get_debug_type(mixed $value) : string
Parameters
- $value : mixed
get_resource_id()
get_resource_id(mixed $resource) : int
Parameters
- $resource : mixed
u()
u([string|null $string = '' ]) : UnicodeString
Parameters
- $string : string|null = ''
b()
b([string|null $string = '' ]) : ByteString
Parameters
- $string : string|null = ''
s()
s([string|null $string = '' ]) : UnicodeString|ByteString
Parameters
- $string : string|null = ''