Skip to content

Instantly share code, notes, and snippets.

@pumatertion
pumatertion / ClientEntity.php
Created March 6, 2014 12:01
Wrong behaviour of Flow Persistence Manager. See Comments in Line #184 and #222
<?php
/* *
* This script belongs to the TYPO3 Flow package "BLEICKER.ArtManager.Structure". *
* *
* */
namespace BLEICKER\ArtManager\Structure\Domain\Model;
use TYPO3\Flow\Annotations as Flow;
use Doctrine\ORM\Mapping as ORM;
<?php
/* *
* This script belongs to the TYPO3 Flow package "BLEICKER.ArtManager.Structure". *
* *
* */
namespace BLEICKER\ArtManager\Structure\Domain\Model;
use TYPO3\Flow\Annotations as Flow;
use Doctrine\ORM\Mapping as ORM;
<?php
/* *
* This script belongs to the TYPO3 Flow package "BLEICKER.ArtManager.Structure". *
* *
* */
namespace BLEICKER\ArtManager\Structure\Tests\Functional\Domain\Model;
use BLEICKER\ArtManager\Structure\Domain\Model\Artist;
use BLEICKER\ArtManager\Structure\Domain\Model\Company;
@pumatertion
pumatertion / Objects.yaml
Last active August 29, 2015 13:57
Testing RestUploads with FunctionalTest
BLEICKER\ArtManager\Rest\Tests\Functional\Resource\ResourceManager:
properties:
statusCache:
object:
factoryObjectName: TYPO3\Flow\Cache\CacheManager
factoryMethodName: getCache
arguments:
1:
value: Flow_Resource_Status
<?php
namespace BLEICKER\ArtManager\Structure\Property\TypeConverter;
/* *
* This script belongs to the TYPO3 Flow framework. *
* *
* 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. *
* *
<?php
/* *
* This script belongs to the TYPO3 Flow framework. *
* *
* 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. *
* *
* The TYPO3 project - inspiring people to share! *
* */
# #
# Routes configuration #
# #
# This file contains the configuration for the MVC router. #
# Just add your own modifications as necessary. #
# #
# Please refer to the Flow manual for possible configuration options. #
# #
##
resources:
methods:
Acme_Foo_Controller: 'method(Acme\Foo\Controller\BarController->.*Action())'
acls:
Everybody:
methods:
Acme_Foo_Controller: GRANT
@pumatertion
pumatertion / Package.php
Created April 12, 2014 13:47
Using your own splitable yaml configurations like Foo.Bar.yaml
<?php
/* *
* This script belongs to the TYPO3 Flow framework. *
* *
* 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. *
* *
* The TYPO3 project - inspiring people to share! *
* */
#This walks into the main Routes.yaml in Flows Root Folder "Configuration"
-
name: 'Your Fantastic Name'
uriPattern: '<YourPackageSubroutes>'
subRoutes:
'YourPackageSubroutes':
package: 'YOUR.Package'