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
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
"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
<?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
<?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 | |
declare(strict_types=1); | |
#[Path('/my/endpoint')] | |
final class MyEndpoint extends HttpEndpoint | |
{ | |
private function get( | |
#[Parameter(ParameterLocation::LOCATION_QUERY] | |
MyParameter $parameter |
OlderNewer