Skip to content

Instantly share code, notes, and snippets.

@radmiraal
Created July 31, 2012 11:05
Show Gist options
  • Save radmiraal/3216209 to your computer and use it in GitHub Desktop.
Save radmiraal/3216209 to your computer and use it in GitHub Desktop.
<?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