This file contains hidden or 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: | |
| Jobqueue: | |
| Common: | |
| queues: | |
| 'test': | |
| className: 'TYPO3\Jobqueue\Beanstalkd\Queue\BeanstalkdQueue' # or TYPO3\Jobqueue\Redis\Queue\RedisQueue, ... |
This file contains hidden or 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 Your\Package\ViewHelpers; | |
| /* * | |
| * This script belongs to the TYPO3 Flow package "Your.Package". * | |
| * */ | |
| use TYPO3\Flow\Annotations as Flow; | |
| use TYPO3\Flow\Cache\Frontend\StringFrontend; | |
| use TYPO3\Flow\Persistence\PersistenceManagerInterface; |
This file contains hidden or 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 hidden or 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 Repository { | |
| public function __call($method, $arguments) { | |
| $query = $this->createQuery(); | |
| $caseSensitive = isset($arguments[1]) ? (boolean)$arguments[1] : TRUE; | |
| if (substr($method, 0, 6) === 'findBy' && strlen($method) > 7) { | |
| $propertyName = lcfirst(substr($method, 6)); | |
| return $query->matching($query->equals($propertyName, $arguments[0], $caseSensitive))->execute(); | |
| } elseif (substr($method, 0, 7) === 'countBy' && strlen($method) > 8) { |
This file contains hidden or 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 Some\Package\Domain\Model; | |
| use TYPO3\Flow\Annotations as Flow; | |
| use Doctrine\ORM\Mapping as ORM; | |
| use TYPO3\Flow\Security\Policy\Role; | |
| use TYPO3\Party\Domain\Model\AbstractParty; | |
| /** | |
| * A User |
This file contains hidden or 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\Service; | |
| use TYPO3\Flow\Annotations as Flow; | |
| /** | |
| * @Flow\Scope("singleton") | |
| */ | |
| class EmailService { |
This file contains hidden or 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 TYPO3\Fluid\ViewHelpers\Format; | |
| /* * | |
| * This script belongs to the TYPO3 Flow package "Fluid". * | |
| * * | |
| * It is free software; you can redistribute it and/or modify it under * | |
| * the terms of the GNU Lesser General Public License, either version 3 * | |
| * of the License, or (at your option) any later version. * | |
| * * |
This file contains hidden or 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 Your\Package\ViewHelpers\Format; | |
| /* * | |
| * This script belongs to the TYPO3 Flow package "Your.Package. * | |
| * * | |
| * */ | |
| use TYPO3\Flow\Annotations as Flow; | |
| use TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper; |
This file contains hidden or 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 Your\Package\Domain\Repository; | |
| use TYPO3\Flow\Annotations as Flow; | |
| use TYPO3\Flow\Persistence\Doctrine\Repository; | |
| use TYPO3\Flow\Reflection\ObjectAccess; | |
| /** | |
| * @Flow\Scope("singleton") | |
| */ |
This file contains hidden or 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 | |
| /** | |
| * Renders a Fluidtemplate similar to the FLUIDTEMPLATE content object but with some additional features: | |
| * * $this->cObj->data variables will be available directly in the template (no need to prefix with "data." | |
| * * Flexform fields are parsed and all Flexform variables will be directly available in the template | |
| * | |
| * Usage: | |
| * | |
| * lib.someObject = USER |