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); | |
#[Path('/my/endpoint')] | |
final class MyEndpoint extends HttpEndpoint | |
{ | |
private function get( | |
#[Parameter(ParameterLocation::LOCATION_QUERY] | |
MyParameter $parameter |
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 GuzzleHttp\Psr7\Utils; | |
use Psr\Http\Message\ResponseInterface; | |
use Psr\Http\Message\ServerRequestInterface; | |
abstract class HttpEndpoint | |
{ |
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\Application; | |
/* * | |
* This script belongs to the Neos Flow package "My.Package". * | |
* */ | |
use Neos\Flow\Annotations as Flow; | |
use Neos\Flow\Persistence\Doctrine\PersistenceManager; | |
use Neos\Media\Domain\Model\ImageInterface; |
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
"require": { | |
"neos/neos-development-collection": "@dev", | |
"neos/flow-development-collection": "@dev", | |
"neos/event-sourcing": "@dev", | |
"neos/demo": "dev-master", | |
"neos/flow-log": "@dev", | |
"neos/neos-ui": "~1.0.0", | |
"neos/neos-ui-compiled": "~1.0.0", | |
"neos/party": "@dev", |
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
Feature: You name it | |
Background: | |
Given I have the following content dimensions: | |
| Identifier | Default | Values | Generalizations | | |
| language | en | en, de, fr, it | | | |
| country | int | int, eu, de, ch, gb, us | de->eu->int, ch->int, gb->int, us->int | |
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
/** | |
* The aspect for redirecting asset editors to the media management module | |
* | |
* @Flow\Scope("singleton") | |
* @Flow\Aspect | |
*/ | |
class BackendRedirectionAspect | |
{ | |
/** |
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 Neos\ContentRepository\EventSourced\Domain\Model\Content\Event; | |
/* | |
* This file is part of the Neos.ContentRepository.EventSourced package. | |
* | |
* (c) Contributors of the Neos Project - www.neos.io | |
* | |
* This package is Open Source Software. For the full copyright and license | |
* information, please view the LICENSE file which was distributed with this |
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
"asset": { | |
"type": "attachment", | |
"fields": { | |
"asset": { | |
"type": "string", | |
"term_vector":"with_positions_offsets", | |
"store": true | |
} | |
} | |
} |
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
class TagBasedImageListImplementation extends TemplateImplementation { | |
/** | |
* @Flow\Inject | |
* @var TagRepository | |
*/ | |
protected $tagRepository; | |
/** | |
* @Flow\Inject |
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 TYPO3\Neos\Controller\Backend; | |
/* * | |
* This script belongs to the TYPO3 Flow package "TYPO3.Neos". * | |
* * | |
* It is free software; you can redistribute it and/or modify it under * | |
* the terms of the GNU General Public License, either version 3 of the * | |
* License, or (at your option) any later version. * | |
* * |
NewerOlder