TYPO3CMS
9.5
Main Page
Related Pages
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
File Members
All
$
d
e
r
u
Functions
Variables
$
e
r
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
AspectDeclaration.php
Go to the documentation of this file.
1
<?php
2
declare(strict_types = 1);
3
namespace
TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder
;
4
5
/*
6
* This file is part of the TYPO3 CMS project.
7
*
8
* It is free software; you can redistribute it and/or modify it under
9
* the terms of the GNU General Public License, either version 2
10
* of the License, or any later version.
11
*
12
* For the full copyright and license information, please read the
13
* LICENSE.txt file that was distributed with this source code.
14
*
15
* The TYPO3 project - inspiring people to share!
16
*/
17
18
class
AspectDeclaration
implements
Applicable
19
{
23
private
$identifier
;
24
28
private
$configuration
= [];
29
30
public
static
function
create
(
string
$identifier
): self
31
{
32
return
new
static
(
$identifier
);
33
}
34
35
private
function
__construct
(
string
$identifier
)
36
{
37
$this->identifier =
$identifier
;
38
}
39
43
public
function
getConfiguration
(): array
44
{
45
return
$this->configuration
;
46
}
47
48
public
function
withConfiguration
(array
$configuration
): self
49
{
50
$target = clone $this;
51
$target->configuration =
$configuration
;
52
return
$target;
53
}
54
55
public
function
describe
(): string
56
{
57
return
$this->identifier
;
58
}
59
}
TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\AspectDeclaration\getConfiguration
array getConfiguration()
Definition:
AspectDeclaration.php:41
TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\AspectDeclaration\describe
describe()
Definition:
AspectDeclaration.php:53
TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\AspectDeclaration\withConfiguration
withConfiguration(array $configuration)
Definition:
AspectDeclaration.php:46
TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\AspectDeclaration\$configuration
array $configuration
Definition:
AspectDeclaration.php:26
TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\AspectDeclaration\create
static create(string $identifier)
Definition:
AspectDeclaration.php:28
TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\AspectDeclaration\$identifier
string $identifier
Definition:
AspectDeclaration.php:22
TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\Applicable
Definition:
Applicable.php:19
TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\AspectDeclaration
Definition:
AspectDeclaration.php:19
TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder
Definition:
Applicable.php:3
TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\AspectDeclaration\__construct
__construct(string $identifier)
Definition:
AspectDeclaration.php:33
doxygen
typo3
sysext
frontend
Tests
Functional
SiteHandling
Framework
Builder
AspectDeclaration.php
Generated on Tue Oct 5 2021 01:57:46 for TYPO3CMS by
1.8.18