This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
final class CatchUpWorkerCommandController extends CommandController { | |
public function __construct( | |
private readonly ContentRepositoryRegistry $contentRepositoryRegistry, | |
private readonly ProjectionCatchUpServiceFactory $projectionCatchUpServiceFactory, | |
) { | |
parent::__construct(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace My\Package\Validation; | |
use TYPO3\Flow\Persistence\RepositoryInterface; | |
class ExistsValidator extends \TYPO3\Flow\Validation\Validator\AbstractValidator { | |
/** | |
* @var array | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Intro to XState</title> | |
<link rel="stylesheet" href="styles.css" /> | |
</head> | |
<body> | |
<div id="box"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class MagicMethodFixture { | |
/** | |
* @var array | |
*/ | |
protected $configurations; | |
public function __construct() { | |
$this->configurations = array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TYPO3: | |
Flow: | |
# disable reflection for non psr-0 compliant 3rd party packages | |
object: | |
excludeClasses: | |
'gedmo.doctrineextensions' : ['Gedmo\\.*'] | |
# register soft deletable filter & event listeners | |
persistence: | |
doctrine: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Some.Package:ZipArchiveLink zip.files={['resource://Neos.Neos/Public/Images/Login/Logo.svg', 'resource://Neos.Neos/Public/Images/Login/Wallpaper.jpg']} filename="archive.zip"> | |
Download | |
</Some.Package:ZipArchiveLink> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
use Behat\Behat\Context\Context; | |
use Behat\Gherkin\Node\PyStringNode; | |
use Behat\Gherkin\Node\TableNode; | |
use Doctrine\DBAL\Connection; | |
use Doctrine\ORM\EntityManagerInterface; | |
use Firebase\JWT\JWT; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
final class SomeIdentifier | |
{ | |
/** | |
* @var string | |
*/ | |
private $value; | |
/** | |
* @var self[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Concrete assignments from roles to privileges can happen in your global /Configuration/Policy.yaml file | |
roles: | |
'Some.Distribution:Administrator': | |
privileges: | |
- privilegeTarget: 'Some.Package:AccessAnyProduct' | |
permission: GRANT | |
'Some.Distribution:User': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const nestedStates = { | |
initial: 'a1', | |
states: { | |
a1: { | |
on: { | |
FOO: "a2" | |
} | |
}, | |
a2: { | |
type: "final" |
NewerOlder