Documentation

ExpressionTest extends TestCase
in package

FinalYes
Attributes
#[CoversClass]
\phpDocumentor\Reflection\Php\Expression::class

Table of Contents

Constants

EXAMPLE_FQSEN  = '\\' . self::class
EXAMPLE_FQSEN_PLACEHOLDER  = '{{ PHPDOC0450ed2a7bac1efcf0c13b6560767954 }}'

Methods

expressionValues()  : Generator
testExpressionTemplateCannotBeEmpty()  : void
testExpressionTemplateCreation()  : void
testGeneratingPlaceholder()  : void
testGeneratingPlaceholderErrorsUponPassingAnEmptyName()  : void
testGetExpressionTemplateString()  : void
testGetExtractedParts()  : void
testOverridePartsWhenRenderingExpression()  : void
testPartsShouldContainFqsensOrTypes()  : void
testRenderingExpressionWithoutOverridesIsTheSameAsWhenCastingToString()  : void
testReplacePlaceholdersWhenCastingToString()  : void

Constants

EXAMPLE_FQSEN_PLACEHOLDER

private mixed EXAMPLE_FQSEN_PLACEHOLDER = '{{ PHPDOC0450ed2a7bac1efcf0c13b6560767954 }}'

Methods

expressionValues()

public static expressionValues() : Generator
Tags
@return

Generator<string, array{expression: string}

Return values
Generator

testExpressionTemplateCannotBeEmpty()

public testExpressionTemplateCannotBeEmpty() : void

testExpressionTemplateCreation()

public testExpressionTemplateCreation(string $expression) : void
Parameters
$expression : string
Attributes
#[DataProvider]
'expressionValues'

testGeneratingPlaceholder()

public testGeneratingPlaceholder() : void

testGeneratingPlaceholderErrorsUponPassingAnEmptyName()

public testGeneratingPlaceholderErrorsUponPassingAnEmptyName() : void

testGetExpressionTemplateString()

public testGetExpressionTemplateString() : void

testOverridePartsWhenRenderingExpression()

public testOverridePartsWhenRenderingExpression() : void

testPartsShouldContainFqsensOrTypes()

public testPartsShouldContainFqsensOrTypes() : void

testRenderingExpressionWithoutOverridesIsTheSameAsWhenCastingToString()

public testRenderingExpressionWithoutOverridesIsTheSameAsWhenCastingToString() : void

testReplacePlaceholdersWhenCastingToString()

public testReplacePlaceholdersWhenCastingToString() : void

        
On this page

Search results