This weekend I started to learn Symfony 2. I did not encounter a problem, since the structure is well documented, in my opinion.
I am using the FOSUserBundle package for ACLs. I am wondering if one can make it look like a Yii structure:
$bizRule='return Yii::app()->user->id==$params["post"]->authID;'; $task=$auth->createTask('updateOwnPost','update a post by author himself',$bizRule); $task->addChild('updatePost');
You can see all the details of the above snippet.
How can I achieve something similar with Symfony 2? Is it possible?
source share