Created
July 31, 2012 11:05
-
-
Save radmiraal/3216209 to your computer and use it in GitHub Desktop.
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 Test\Aspect; | |
use TYPO3\FLOW3\Annotations as FLOW3, | |
Doctrine\ORM\Mapping as ORM; | |
/** | |
* @FLOW3\Aspect | |
*/ | |
class ModelAspect { | |
/** | |
* @var string | |
* @ORM\Column(length=40) | |
* @FLOW3\Introduce("class(Test\Domain\Model\Test)") | |
*/ | |
protected $fooBarPropertyName; | |
/** | |
* After returning advice | |
* | |
* @FLOW3\Before("method(Test\Domain\Repository\.*->remove.*())") | |
*/ | |
public function beforeRemoveAdvice(\TYPO3\FLOW3\AOP\JoinPointInterface $joinPoint) { | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment