Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Assert.php

16 calls to Assert::string()

Assert::alpha in vendor/webmozart/assert/src/Assert.php
@psalm-pure
Assert::fileExists in vendor/webmozart/assert/src/Assert.php
Will also pass if $value is a directory, use Assert::file() instead if you need to be sure it is a file.
Assert::isAnyOf in vendor/webmozart/assert/src/Assert.php
@psalm-pure @psalm-param array<class-string> $classes
Assert::isAOf in vendor/webmozart/assert/src/Assert.php
@psalm-pure @psalm-template ExpectedType of object @psalm-param class-string<ExpectedType> $class @psalm-assert ExpectedType|class-string<ExpectedType> $value
Assert::isNotA in vendor/webmozart/assert/src/Assert.php
@psalm-pure @psalm-template UnexpectedType of object @psalm-param class-string<UnexpectedType> $class @psalm-assert !UnexpectedType $value @psalm-assert !class-string<UnexpectedType> $value
Assert::startsWithLetter in vendor/webmozart/assert/src/Assert.php
@psalm-pure
Assert::stringNotEmpty in vendor/webmozart/assert/src/Assert.php
@psalm-pure @psalm-assert non-empty-string $value
Assert::throws in vendor/webmozart/assert/src/Assert.php
@psalm-param class-string<Throwable> $class
Assert::unicodeLetters in vendor/webmozart/assert/src/Assert.php
@psalm-pure
DocBlockFactory::create in vendor/phpdocumentor/reflection-docblock/src/DocBlockFactory.php
DocBlockFactory::splitDocBlock in vendor/phpdocumentor/reflection-docblock/src/DocBlockFactory.php
Splits the DocBlock into a template marker, summary, description and block of tags.
DocBlockFactory::stripDocComment in vendor/phpdocumentor/reflection-docblock/src/DocBlockFactory.php
Strips the asterisks from the DocBlock comment.
Property::__construct in vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Property.php
PropertyRead::__construct in vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyRead.php
PropertyWrite::__construct in vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyWrite.php
Var_::__construct in vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Var_.php
RSS feed
Powered by Drupal