@@ -90,7 +90,7 @@ |
||
90 | 90 | { |
91 | 91 | static $adviceMethod = null; |
92 | 92 | if (!$adviceMethod) { |
93 | - $adviceMethod = function ($object, $reflectorName, $message, $level = E_USER_NOTICE) { |
|
93 | + $adviceMethod = function($object, $reflectorName, $message, $level = E_USER_NOTICE) { |
|
94 | 94 | $class = is_string($object) ? $object : get_class($object); |
95 | 95 | $message = vsprintf('[AOP Declare Error]: %s has an error: "%s"', array( |
96 | 96 | $class . '->' . $reflectorName, |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Go! AOP framework |
|
4 | - * |
|
5 | - * @copyright Copyright 2013, Lisachenko Alexander <[email protected]> |
|
6 | - * |
|
7 | - * This source file is subject to the license that is bundled |
|
8 | - * with this source code in the file LICENSE. |
|
9 | - */ |
|
3 | + * Go! AOP framework |
|
4 | + * |
|
5 | + * @copyright Copyright 2013, Lisachenko Alexander <[email protected]> |
|
6 | + * |
|
7 | + * This source file is subject to the license that is bundled |
|
8 | + * with this source code in the file LICENSE. |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Go\Proxy; |
12 | 12 |
@@ -1,12 +1,12 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Go! AOP framework |
|
4 | - * |
|
5 | - * @copyright Copyright 2013, Lisachenko Alexander <[email protected]> |
|
6 | - * |
|
7 | - * This source file is subject to the license that is bundled |
|
8 | - * with this source code in the file LICENSE. |
|
9 | - */ |
|
3 | + * Go! AOP framework |
|
4 | + * |
|
5 | + * @copyright Copyright 2013, Lisachenko Alexander <[email protected]> |
|
6 | + * |
|
7 | + * This source file is subject to the license that is bundled |
|
8 | + * with this source code in the file LICENSE. |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Go\Aop\Framework; |
12 | 12 | |
@@ -83,10 +83,10 @@ discard block |
||
83 | 83 | * |
84 | 84 | * @return object |
85 | 85 | */ |
86 | - public function getStaticPart() |
|
87 | - { |
|
88 | - return $this->reflectionFunction; |
|
89 | - } |
|
86 | + public function getStaticPart() |
|
87 | + { |
|
88 | + return $this->reflectionFunction; |
|
89 | + } |
|
90 | 90 | |
91 | 91 | /** |
92 | 92 | * Invokes current function invocation with all interceptors |
@@ -11,4 +11,4 @@ |
||
11 | 11 | /** |
12 | 12 | * This table was generated for production use, do not touch it |
13 | 13 | */ |
14 | -return array('action'=>array(0=>array('!'=>4,'('=>6,'access'=>19,'annotation'=>20,'execution'=>21,'within'=>22,'initialization'=>23,'staticinitialization'=>24,'cflowbelow'=>25,'dynamic'=>26,'namePart'=>28,),1=>array('||'=>29,'$eof'=>0,),2=>array('&&'=>30,'$eof'=>-3,'||'=>-3,')'=>-3,),4=>array('('=>6,'access'=>19,'annotation'=>20,'execution'=>21,'within'=>22,'initialization'=>23,'staticinitialization'=>24,'cflowbelow'=>25,'dynamic'=>26,'namePart'=>28,),6=>array('!'=>4,'('=>6,'access'=>19,'annotation'=>20,'execution'=>21,'within'=>22,'initialization'=>23,'staticinitialization'=>24,'cflowbelow'=>25,'dynamic'=>26,'namePart'=>28,),19=>array('('=>33,),20=>array('access'=>34,'execution'=>35,'within'=>36,),21=>array('('=>37,),22=>array('('=>38,),23=>array('('=>39,),24=>array('('=>40,),25=>array('('=>41,),26=>array('('=>42,),27=>array('->'=>43,'nsSeparator'=>44,),29=>array('!'=>4,'('=>6,'access'=>19,'annotation'=>20,'execution'=>21,'within'=>22,'initialization'=>23,'staticinitialization'=>24,'cflowbelow'=>25,'dynamic'=>26,'namePart'=>28,),30=>array('!'=>4,'('=>6,'access'=>19,'annotation'=>20,'execution'=>21,'within'=>22,'initialization'=>23,'staticinitialization'=>24,'cflowbelow'=>25,'dynamic'=>26,'namePart'=>28,),32=>array(')'=>47,'||'=>29,),33=>array('public'=>52,'protected'=>53,'private'=>54,'final'=>55,),34=>array('('=>56,),35=>array('('=>57,),36=>array('('=>58,),37=>array('**'=>63,'*'=>65,'namePart'=>66,'public'=>52,'protected'=>53,'private'=>54,'final'=>55,),38=>array('**'=>63,'*'=>65,'namePart'=>66,),39=>array('**'=>63,'*'=>65,'namePart'=>66,),40=>array('**'=>63,'*'=>65,'namePart'=>66,),41=>array('execution'=>21,),42=>array('public'=>52,'protected'=>53,'private'=>54,'final'=>55,),43=>array('*'=>65,'namePart'=>66,),44=>array('namePart'=>74,),45=>array('&&'=>30,'$eof'=>-2,'||'=>-2,')'=>-2,),48=>array(')'=>75,),50=>array('**'=>63,'*'=>65,'namePart'=>66,),51=>array('|'=>77,'public'=>52,'protected'=>53,'private'=>54,'final'=>55,'**'=>-55,'*'=>-55,'namePart'=>-55,),56=>array('namePart'=>28,),57=>array('namePart'=>28,),58=>array('namePart'=>28,),59=>array(')'=>82,),60=>array(')'=>83,),61=>array('('=>84,),62=>array('nsSeparator'=>85,),64=>array('*'=>86,'namePart'=>87,'|'=>88,'nsSeparator'=>-43,')'=>-43,'+'=>-43,'::'=>-43,'->'=>-43,),67=>array(')'=>89,),68=>array('+'=>90,'nsSeparator'=>91,')'=>-37,'::'=>-37,'->'=>-37,),69=>array(')'=>92,),70=>array(')'=>93,),71=>array(')'=>94,),72=>array('('=>95,),73=>array('*'=>86,'namePart'=>87,'|'=>88,'$eof'=>-32,'||'=>-32,'&&'=>-32,')'=>-32,),76=>array('::'=>97,'->'=>98,),77=>array('public'=>52,'protected'=>53,'private'=>54,'final'=>55,),79=>array(')'=>100,'nsSeparator'=>44,),80=>array(')'=>101,'nsSeparator'=>44,),81=>array(')'=>102,'nsSeparator'=>44,),84=>array('*'=>104,),85=>array('**'=>106,'*'=>65,'namePart'=>66,),88=>array('namePart'=>107,),91=>array('**'=>106,'*'=>65,'namePart'=>66,),95=>array('*'=>104,),96=>array('*'=>65,'namePart'=>66,),103=>array(')'=>111,),105=>array('('=>112,'*'=>86,'namePart'=>87,'|'=>88,'nsSeparator'=>-44,),108=>array('*'=>86,'namePart'=>87,'|'=>88,')'=>-44,'+'=>-44,'nsSeparator'=>-44,'::'=>-44,'->'=>-44,),109=>array(')'=>113,),110=>array('*'=>86,'namePart'=>87,'|'=>88,')'=>-36,'('=>-36,),112=>array('*'=>104,),113=>array(')'=>115,),114=>array(')'=>116,),3=>array('$eof'=>-5,'||'=>-5,'&&'=>-5,')'=>-5,),5=>array('$eof'=>-7,'||'=>-7,'&&'=>-7,')'=>-7,),7=>array('$eof'=>-9,'||'=>-9,'&&'=>-9,')'=>-9,),8=>array('$eof'=>-10,'||'=>-10,'&&'=>-10,')'=>-10,),9=>array('$eof'=>-11,'||'=>-11,'&&'=>-11,')'=>-11,),10=>array('$eof'=>-12,'||'=>-12,'&&'=>-12,')'=>-12,),11=>array('$eof'=>-13,'||'=>-13,'&&'=>-13,')'=>-13,),12=>array('$eof'=>-14,'||'=>-14,'&&'=>-14,')'=>-14,),13=>array('$eof'=>-15,'||'=>-15,'&&'=>-15,')'=>-15,),14=>array('$eof'=>-16,'||'=>-16,'&&'=>-16,')'=>-16,),15=>array('$eof'=>-17,'||'=>-17,'&&'=>-17,')'=>-17,),16=>array('$eof'=>-18,'||'=>-18,'&&'=>-18,')'=>-18,),17=>array('$eof'=>-19,'||'=>-19,'&&'=>-19,')'=>-19,),18=>array('$eof'=>-20,'||'=>-20,'&&'=>-20,')'=>-20,),28=>array('->'=>-51,'nsSeparator'=>-51,')'=>-51,),31=>array('$eof'=>-6,'||'=>-6,'&&'=>-6,')'=>-6,),46=>array('$eof'=>-4,'||'=>-4,'&&'=>-4,')'=>-4,),47=>array('$eof'=>-8,'||'=>-8,'&&'=>-8,')'=>-8,),49=>array(')'=>-33,),52=>array('**'=>-56,'*'=>-56,'namePart'=>-56,'|'=>-56,'public'=>-56,'protected'=>-56,'private'=>-56,'final'=>-56,),53=>array('**'=>-57,'*'=>-57,'namePart'=>-57,'|'=>-57,'public'=>-57,'protected'=>-57,'private'=>-57,'final'=>-57,),54=>array('**'=>-58,'*'=>-58,'namePart'=>-58,'|'=>-58,'public'=>-58,'protected'=>-58,'private'=>-58,'final'=>-58,),55=>array('**'=>-59,'*'=>-59,'namePart'=>-59,'|'=>-59,'public'=>-59,'protected'=>-59,'private'=>-59,'final'=>-59,),63=>array('nsSeparator'=>-42,')'=>-42,'+'=>-42,'::'=>-42,'->'=>-42,),65=>array('$eof'=>-46,'||'=>-46,'&&'=>-46,')'=>-46,'('=>-46,'nsSeparator'=>-46,'*'=>-46,'namePart'=>-46,'|'=>-46,'+'=>-46,'::'=>-46,'->'=>-46,),66=>array('$eof'=>-47,'||'=>-47,'&&'=>-47,')'=>-47,'('=>-47,'nsSeparator'=>-47,'*'=>-47,'namePart'=>-47,'|'=>-47,'+'=>-47,'::'=>-47,'->'=>-47,),74=>array('->'=>-52,'nsSeparator'=>-52,')'=>-52,),75=>array('$eof'=>-21,'||'=>-21,'&&'=>-21,')'=>-21,),78=>array('**'=>-54,'*'=>-54,'namePart'=>-54,),82=>array('$eof'=>-22,'||'=>-22,'&&'=>-22,')'=>-22,),83=>array('$eof'=>-23,'||'=>-23,'&&'=>-23,')'=>-23,),86=>array('$eof'=>-48,'||'=>-48,'&&'=>-48,')'=>-48,'('=>-48,'nsSeparator'=>-48,'*'=>-48,'namePart'=>-48,'|'=>-48,'+'=>-48,'::'=>-48,'->'=>-48,),87=>array('$eof'=>-49,'||'=>-49,'&&'=>-49,')'=>-49,'('=>-49,'nsSeparator'=>-49,'*'=>-49,'namePart'=>-49,'|'=>-49,'+'=>-49,'::'=>-49,'->'=>-49,),89=>array('$eof'=>-24,'||'=>-24,'&&'=>-24,')'=>-24,),90=>array(')'=>-38,'::'=>-38,'->'=>-38,),92=>array('$eof'=>-28,'||'=>-28,'&&'=>-28,')'=>-28,),93=>array('$eof'=>-29,'||'=>-29,'&&'=>-29,')'=>-29,),94=>array('$eof'=>-30,'||'=>-30,'&&'=>-30,')'=>-30,),97=>array('*'=>-40,'namePart'=>-40,),98=>array('*'=>-41,'namePart'=>-41,),99=>array('**'=>-53,'*'=>-53,'namePart'=>-53,),100=>array('$eof'=>-25,'||'=>-25,'&&'=>-25,')'=>-25,),101=>array('$eof'=>-26,'||'=>-26,'&&'=>-26,')'=>-26,),102=>array('$eof'=>-27,'||'=>-27,'&&'=>-27,')'=>-27,),104=>array(')'=>-39,),106=>array('nsSeparator'=>-45,')'=>-45,'+'=>-45,'::'=>-45,'->'=>-45,),107=>array('$eof'=>-50,'||'=>-50,'&&'=>-50,')'=>-50,'('=>-50,'nsSeparator'=>-50,'*'=>-50,'namePart'=>-50,'|'=>-50,'+'=>-50,'::'=>-50,'->'=>-50,),111=>array(')'=>-34,),115=>array('$eof'=>-31,'||'=>-31,'&&'=>-31,')'=>-31,),116=>array(')'=>-35,),),'goto'=>array(0=>array('pointcutExpression'=>1,'conjugatedExpression'=>2,'negatedExpression'=>3,'brakedExpression'=>5,'singlePointcut'=>7,'accessPointcut'=>8,'annotatedAccessPointcut'=>9,'executionPointcut'=>10,'annotatedExecutionPointcut'=>11,'withinPointcut'=>12,'annotatedWithinPointcut'=>13,'initializationPointcut'=>14,'staticInitializationPointcut'=>15,'cflowbelowPointcut'=>16,'dynamicExecutionPointcut'=>17,'pointcutReference'=>18,'namespaceName'=>27,),4=>array('brakedExpression'=>31,'singlePointcut'=>7,'accessPointcut'=>8,'annotatedAccessPointcut'=>9,'executionPointcut'=>10,'annotatedExecutionPointcut'=>11,'withinPointcut'=>12,'annotatedWithinPointcut'=>13,'initializationPointcut'=>14,'staticInitializationPointcut'=>15,'cflowbelowPointcut'=>16,'dynamicExecutionPointcut'=>17,'pointcutReference'=>18,'namespaceName'=>27,),6=>array('pointcutExpression'=>32,'conjugatedExpression'=>2,'negatedExpression'=>3,'brakedExpression'=>5,'singlePointcut'=>7,'accessPointcut'=>8,'annotatedAccessPointcut'=>9,'executionPointcut'=>10,'annotatedExecutionPointcut'=>11,'withinPointcut'=>12,'annotatedWithinPointcut'=>13,'initializationPointcut'=>14,'staticInitializationPointcut'=>15,'cflowbelowPointcut'=>16,'dynamicExecutionPointcut'=>17,'pointcutReference'=>18,'namespaceName'=>27,),29=>array('conjugatedExpression'=>45,'negatedExpression'=>3,'brakedExpression'=>5,'singlePointcut'=>7,'accessPointcut'=>8,'annotatedAccessPointcut'=>9,'executionPointcut'=>10,'annotatedExecutionPointcut'=>11,'withinPointcut'=>12,'annotatedWithinPointcut'=>13,'initializationPointcut'=>14,'staticInitializationPointcut'=>15,'cflowbelowPointcut'=>16,'dynamicExecutionPointcut'=>17,'pointcutReference'=>18,'namespaceName'=>27,),30=>array('negatedExpression'=>46,'brakedExpression'=>5,'singlePointcut'=>7,'accessPointcut'=>8,'annotatedAccessPointcut'=>9,'executionPointcut'=>10,'annotatedExecutionPointcut'=>11,'withinPointcut'=>12,'annotatedWithinPointcut'=>13,'initializationPointcut'=>14,'staticInitializationPointcut'=>15,'cflowbelowPointcut'=>16,'dynamicExecutionPointcut'=>17,'pointcutReference'=>18,'namespaceName'=>27,),33=>array('propertyAccessReference'=>48,'memberReference'=>49,'memberModifiers'=>50,'memberModifier'=>51,),37=>array('methodExecutionReference'=>59,'functionExecutionReference'=>60,'memberReference'=>61,'namespacePattern'=>62,'memberModifiers'=>50,'namePatternPart'=>64,'memberModifier'=>51,),38=>array('classFilter'=>67,'namespacePattern'=>68,'namePatternPart'=>64,),39=>array('classFilter'=>69,'namespacePattern'=>68,'namePatternPart'=>64,),40=>array('classFilter'=>70,'namespacePattern'=>68,'namePatternPart'=>64,),41=>array('executionPointcut'=>71,),42=>array('memberReference'=>72,'memberModifiers'=>50,'memberModifier'=>51,),43=>array('namePatternPart'=>73,),50=>array('classFilter'=>76,'namespacePattern'=>68,'namePatternPart'=>64,),51=>array('memberModifiers'=>78,'memberModifier'=>51,),56=>array('namespaceName'=>79,),57=>array('namespaceName'=>80,),58=>array('namespaceName'=>81,),76=>array('memberAccessType'=>96,),77=>array('memberModifiers'=>99,'memberModifier'=>51,),84=>array('argumentList'=>103,),85=>array('namePatternPart'=>105,),91=>array('namePatternPart'=>108,),95=>array('argumentList'=>109,),96=>array('namePatternPart'=>110,),112=>array('argumentList'=>114,),)); |
|
14 | +return array('action'=>array(0=>array('!'=>4, '('=>6, 'access'=>19, 'annotation'=>20, 'execution'=>21, 'within'=>22, 'initialization'=>23, 'staticinitialization'=>24, 'cflowbelow'=>25, 'dynamic'=>26, 'namePart'=>28,), 1=>array('||'=>29, '$eof'=>0,), 2=>array('&&'=>30, '$eof'=>-3, '||'=>-3, ')'=>-3,), 4=>array('('=>6, 'access'=>19, 'annotation'=>20, 'execution'=>21, 'within'=>22, 'initialization'=>23, 'staticinitialization'=>24, 'cflowbelow'=>25, 'dynamic'=>26, 'namePart'=>28,), 6=>array('!'=>4, '('=>6, 'access'=>19, 'annotation'=>20, 'execution'=>21, 'within'=>22, 'initialization'=>23, 'staticinitialization'=>24, 'cflowbelow'=>25, 'dynamic'=>26, 'namePart'=>28,), 19=>array('('=>33,), 20=>array('access'=>34, 'execution'=>35, 'within'=>36,), 21=>array('('=>37,), 22=>array('('=>38,), 23=>array('('=>39,), 24=>array('('=>40,), 25=>array('('=>41,), 26=>array('('=>42,), 27=>array('->'=>43, 'nsSeparator'=>44,), 29=>array('!'=>4, '('=>6, 'access'=>19, 'annotation'=>20, 'execution'=>21, 'within'=>22, 'initialization'=>23, 'staticinitialization'=>24, 'cflowbelow'=>25, 'dynamic'=>26, 'namePart'=>28,), 30=>array('!'=>4, '('=>6, 'access'=>19, 'annotation'=>20, 'execution'=>21, 'within'=>22, 'initialization'=>23, 'staticinitialization'=>24, 'cflowbelow'=>25, 'dynamic'=>26, 'namePart'=>28,), 32=>array(')'=>47, '||'=>29,), 33=>array('public'=>52, 'protected'=>53, 'private'=>54, 'final'=>55,), 34=>array('('=>56,), 35=>array('('=>57,), 36=>array('('=>58,), 37=>array('**'=>63, '*'=>65, 'namePart'=>66, 'public'=>52, 'protected'=>53, 'private'=>54, 'final'=>55,), 38=>array('**'=>63, '*'=>65, 'namePart'=>66,), 39=>array('**'=>63, '*'=>65, 'namePart'=>66,), 40=>array('**'=>63, '*'=>65, 'namePart'=>66,), 41=>array('execution'=>21,), 42=>array('public'=>52, 'protected'=>53, 'private'=>54, 'final'=>55,), 43=>array('*'=>65, 'namePart'=>66,), 44=>array('namePart'=>74,), 45=>array('&&'=>30, '$eof'=>-2, '||'=>-2, ')'=>-2,), 48=>array(')'=>75,), 50=>array('**'=>63, '*'=>65, 'namePart'=>66,), 51=>array('|'=>77, 'public'=>52, 'protected'=>53, 'private'=>54, 'final'=>55, '**'=>-55, '*'=>-55, 'namePart'=>-55,), 56=>array('namePart'=>28,), 57=>array('namePart'=>28,), 58=>array('namePart'=>28,), 59=>array(')'=>82,), 60=>array(')'=>83,), 61=>array('('=>84,), 62=>array('nsSeparator'=>85,), 64=>array('*'=>86, 'namePart'=>87, '|'=>88, 'nsSeparator'=>-43, ')'=>-43, '+'=>-43, '::'=>-43, '->'=>-43,), 67=>array(')'=>89,), 68=>array('+'=>90, 'nsSeparator'=>91, ')'=>-37, '::'=>-37, '->'=>-37,), 69=>array(')'=>92,), 70=>array(')'=>93,), 71=>array(')'=>94,), 72=>array('('=>95,), 73=>array('*'=>86, 'namePart'=>87, '|'=>88, '$eof'=>-32, '||'=>-32, '&&'=>-32, ')'=>-32,), 76=>array('::'=>97, '->'=>98,), 77=>array('public'=>52, 'protected'=>53, 'private'=>54, 'final'=>55,), 79=>array(')'=>100, 'nsSeparator'=>44,), 80=>array(')'=>101, 'nsSeparator'=>44,), 81=>array(')'=>102, 'nsSeparator'=>44,), 84=>array('*'=>104,), 85=>array('**'=>106, '*'=>65, 'namePart'=>66,), 88=>array('namePart'=>107,), 91=>array('**'=>106, '*'=>65, 'namePart'=>66,), 95=>array('*'=>104,), 96=>array('*'=>65, 'namePart'=>66,), 103=>array(')'=>111,), 105=>array('('=>112, '*'=>86, 'namePart'=>87, '|'=>88, 'nsSeparator'=>-44,), 108=>array('*'=>86, 'namePart'=>87, '|'=>88, ')'=>-44, '+'=>-44, 'nsSeparator'=>-44, '::'=>-44, '->'=>-44,), 109=>array(')'=>113,), 110=>array('*'=>86, 'namePart'=>87, '|'=>88, ')'=>-36, '('=>-36,), 112=>array('*'=>104,), 113=>array(')'=>115,), 114=>array(')'=>116,), 3=>array('$eof'=>-5, '||'=>-5, '&&'=>-5, ')'=>-5,), 5=>array('$eof'=>-7, '||'=>-7, '&&'=>-7, ')'=>-7,), 7=>array('$eof'=>-9, '||'=>-9, '&&'=>-9, ')'=>-9,), 8=>array('$eof'=>-10, '||'=>-10, '&&'=>-10, ')'=>-10,), 9=>array('$eof'=>-11, '||'=>-11, '&&'=>-11, ')'=>-11,), 10=>array('$eof'=>-12, '||'=>-12, '&&'=>-12, ')'=>-12,), 11=>array('$eof'=>-13, '||'=>-13, '&&'=>-13, ')'=>-13,), 12=>array('$eof'=>-14, '||'=>-14, '&&'=>-14, ')'=>-14,), 13=>array('$eof'=>-15, '||'=>-15, '&&'=>-15, ')'=>-15,), 14=>array('$eof'=>-16, '||'=>-16, '&&'=>-16, ')'=>-16,), 15=>array('$eof'=>-17, '||'=>-17, '&&'=>-17, ')'=>-17,), 16=>array('$eof'=>-18, '||'=>-18, '&&'=>-18, ')'=>-18,), 17=>array('$eof'=>-19, '||'=>-19, '&&'=>-19, ')'=>-19,), 18=>array('$eof'=>-20, '||'=>-20, '&&'=>-20, ')'=>-20,), 28=>array('->'=>-51, 'nsSeparator'=>-51, ')'=>-51,), 31=>array('$eof'=>-6, '||'=>-6, '&&'=>-6, ')'=>-6,), 46=>array('$eof'=>-4, '||'=>-4, '&&'=>-4, ')'=>-4,), 47=>array('$eof'=>-8, '||'=>-8, '&&'=>-8, ')'=>-8,), 49=>array(')'=>-33,), 52=>array('**'=>-56, '*'=>-56, 'namePart'=>-56, '|'=>-56, 'public'=>-56, 'protected'=>-56, 'private'=>-56, 'final'=>-56,), 53=>array('**'=>-57, '*'=>-57, 'namePart'=>-57, '|'=>-57, 'public'=>-57, 'protected'=>-57, 'private'=>-57, 'final'=>-57,), 54=>array('**'=>-58, '*'=>-58, 'namePart'=>-58, '|'=>-58, 'public'=>-58, 'protected'=>-58, 'private'=>-58, 'final'=>-58,), 55=>array('**'=>-59, '*'=>-59, 'namePart'=>-59, '|'=>-59, 'public'=>-59, 'protected'=>-59, 'private'=>-59, 'final'=>-59,), 63=>array('nsSeparator'=>-42, ')'=>-42, '+'=>-42, '::'=>-42, '->'=>-42,), 65=>array('$eof'=>-46, '||'=>-46, '&&'=>-46, ')'=>-46, '('=>-46, 'nsSeparator'=>-46, '*'=>-46, 'namePart'=>-46, '|'=>-46, '+'=>-46, '::'=>-46, '->'=>-46,), 66=>array('$eof'=>-47, '||'=>-47, '&&'=>-47, ')'=>-47, '('=>-47, 'nsSeparator'=>-47, '*'=>-47, 'namePart'=>-47, '|'=>-47, '+'=>-47, '::'=>-47, '->'=>-47,), 74=>array('->'=>-52, 'nsSeparator'=>-52, ')'=>-52,), 75=>array('$eof'=>-21, '||'=>-21, '&&'=>-21, ')'=>-21,), 78=>array('**'=>-54, '*'=>-54, 'namePart'=>-54,), 82=>array('$eof'=>-22, '||'=>-22, '&&'=>-22, ')'=>-22,), 83=>array('$eof'=>-23, '||'=>-23, '&&'=>-23, ')'=>-23,), 86=>array('$eof'=>-48, '||'=>-48, '&&'=>-48, ')'=>-48, '('=>-48, 'nsSeparator'=>-48, '*'=>-48, 'namePart'=>-48, '|'=>-48, '+'=>-48, '::'=>-48, '->'=>-48,), 87=>array('$eof'=>-49, '||'=>-49, '&&'=>-49, ')'=>-49, '('=>-49, 'nsSeparator'=>-49, '*'=>-49, 'namePart'=>-49, '|'=>-49, '+'=>-49, '::'=>-49, '->'=>-49,), 89=>array('$eof'=>-24, '||'=>-24, '&&'=>-24, ')'=>-24,), 90=>array(')'=>-38, '::'=>-38, '->'=>-38,), 92=>array('$eof'=>-28, '||'=>-28, '&&'=>-28, ')'=>-28,), 93=>array('$eof'=>-29, '||'=>-29, '&&'=>-29, ')'=>-29,), 94=>array('$eof'=>-30, '||'=>-30, '&&'=>-30, ')'=>-30,), 97=>array('*'=>-40, 'namePart'=>-40,), 98=>array('*'=>-41, 'namePart'=>-41,), 99=>array('**'=>-53, '*'=>-53, 'namePart'=>-53,), 100=>array('$eof'=>-25, '||'=>-25, '&&'=>-25, ')'=>-25,), 101=>array('$eof'=>-26, '||'=>-26, '&&'=>-26, ')'=>-26,), 102=>array('$eof'=>-27, '||'=>-27, '&&'=>-27, ')'=>-27,), 104=>array(')'=>-39,), 106=>array('nsSeparator'=>-45, ')'=>-45, '+'=>-45, '::'=>-45, '->'=>-45,), 107=>array('$eof'=>-50, '||'=>-50, '&&'=>-50, ')'=>-50, '('=>-50, 'nsSeparator'=>-50, '*'=>-50, 'namePart'=>-50, '|'=>-50, '+'=>-50, '::'=>-50, '->'=>-50,), 111=>array(')'=>-34,), 115=>array('$eof'=>-31, '||'=>-31, '&&'=>-31, ')'=>-31,), 116=>array(')'=>-35,),), 'goto'=>array(0=>array('pointcutExpression'=>1, 'conjugatedExpression'=>2, 'negatedExpression'=>3, 'brakedExpression'=>5, 'singlePointcut'=>7, 'accessPointcut'=>8, 'annotatedAccessPointcut'=>9, 'executionPointcut'=>10, 'annotatedExecutionPointcut'=>11, 'withinPointcut'=>12, 'annotatedWithinPointcut'=>13, 'initializationPointcut'=>14, 'staticInitializationPointcut'=>15, 'cflowbelowPointcut'=>16, 'dynamicExecutionPointcut'=>17, 'pointcutReference'=>18, 'namespaceName'=>27,), 4=>array('brakedExpression'=>31, 'singlePointcut'=>7, 'accessPointcut'=>8, 'annotatedAccessPointcut'=>9, 'executionPointcut'=>10, 'annotatedExecutionPointcut'=>11, 'withinPointcut'=>12, 'annotatedWithinPointcut'=>13, 'initializationPointcut'=>14, 'staticInitializationPointcut'=>15, 'cflowbelowPointcut'=>16, 'dynamicExecutionPointcut'=>17, 'pointcutReference'=>18, 'namespaceName'=>27,), 6=>array('pointcutExpression'=>32, 'conjugatedExpression'=>2, 'negatedExpression'=>3, 'brakedExpression'=>5, 'singlePointcut'=>7, 'accessPointcut'=>8, 'annotatedAccessPointcut'=>9, 'executionPointcut'=>10, 'annotatedExecutionPointcut'=>11, 'withinPointcut'=>12, 'annotatedWithinPointcut'=>13, 'initializationPointcut'=>14, 'staticInitializationPointcut'=>15, 'cflowbelowPointcut'=>16, 'dynamicExecutionPointcut'=>17, 'pointcutReference'=>18, 'namespaceName'=>27,), 29=>array('conjugatedExpression'=>45, 'negatedExpression'=>3, 'brakedExpression'=>5, 'singlePointcut'=>7, 'accessPointcut'=>8, 'annotatedAccessPointcut'=>9, 'executionPointcut'=>10, 'annotatedExecutionPointcut'=>11, 'withinPointcut'=>12, 'annotatedWithinPointcut'=>13, 'initializationPointcut'=>14, 'staticInitializationPointcut'=>15, 'cflowbelowPointcut'=>16, 'dynamicExecutionPointcut'=>17, 'pointcutReference'=>18, 'namespaceName'=>27,), 30=>array('negatedExpression'=>46, 'brakedExpression'=>5, 'singlePointcut'=>7, 'accessPointcut'=>8, 'annotatedAccessPointcut'=>9, 'executionPointcut'=>10, 'annotatedExecutionPointcut'=>11, 'withinPointcut'=>12, 'annotatedWithinPointcut'=>13, 'initializationPointcut'=>14, 'staticInitializationPointcut'=>15, 'cflowbelowPointcut'=>16, 'dynamicExecutionPointcut'=>17, 'pointcutReference'=>18, 'namespaceName'=>27,), 33=>array('propertyAccessReference'=>48, 'memberReference'=>49, 'memberModifiers'=>50, 'memberModifier'=>51,), 37=>array('methodExecutionReference'=>59, 'functionExecutionReference'=>60, 'memberReference'=>61, 'namespacePattern'=>62, 'memberModifiers'=>50, 'namePatternPart'=>64, 'memberModifier'=>51,), 38=>array('classFilter'=>67, 'namespacePattern'=>68, 'namePatternPart'=>64,), 39=>array('classFilter'=>69, 'namespacePattern'=>68, 'namePatternPart'=>64,), 40=>array('classFilter'=>70, 'namespacePattern'=>68, 'namePatternPart'=>64,), 41=>array('executionPointcut'=>71,), 42=>array('memberReference'=>72, 'memberModifiers'=>50, 'memberModifier'=>51,), 43=>array('namePatternPart'=>73,), 50=>array('classFilter'=>76, 'namespacePattern'=>68, 'namePatternPart'=>64,), 51=>array('memberModifiers'=>78, 'memberModifier'=>51,), 56=>array('namespaceName'=>79,), 57=>array('namespaceName'=>80,), 58=>array('namespaceName'=>81,), 76=>array('memberAccessType'=>96,), 77=>array('memberModifiers'=>99, 'memberModifier'=>51,), 84=>array('argumentList'=>103,), 85=>array('namePatternPart'=>105,), 91=>array('namePatternPart'=>108,), 95=>array('argumentList'=>109,), 96=>array('namePatternPart'=>110,), 112=>array('argumentList'=>114,),)); |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Go! AOP framework |
|
4 | - * |
|
5 | - * @copyright Copyright 2013, Lisachenko Alexander <[email protected]> |
|
6 | - * |
|
7 | - * This source file is subject to the license that is bundled |
|
8 | - * with this source code in the file LICENSE. |
|
9 | - */ |
|
3 | + * Go! AOP framework |
|
4 | + * |
|
5 | + * @copyright Copyright 2013, Lisachenko Alexander <[email protected]> |
|
6 | + * |
|
7 | + * This source file is subject to the license that is bundled |
|
8 | + * with this source code in the file LICENSE. |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Go\Proxy; |
12 | 12 |
@@ -1,12 +1,12 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Go! AOP framework |
|
4 | - * |
|
5 | - * @copyright Copyright 2012, Lisachenko Alexander <[email protected]> |
|
6 | - * |
|
7 | - * This source file is subject to the license that is bundled |
|
8 | - * with this source code in the file LICENSE. |
|
9 | - */ |
|
3 | + * Go! AOP framework |
|
4 | + * |
|
5 | + * @copyright Copyright 2012, Lisachenko Alexander <[email protected]> |
|
6 | + * |
|
7 | + * This source file is subject to the license that is bundled |
|
8 | + * with this source code in the file LICENSE. |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Go\Aop\Pointcut; |
12 | 12 | |
@@ -55,6 +55,6 @@ discard block |
||
55 | 55 | */ |
56 | 56 | public function getKind() |
57 | 57 | { |
58 | - return $this->filterKind; |
|
58 | + return $this->filterKind; |
|
59 | 59 | } |
60 | 60 | } |
@@ -1,12 +1,12 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Go! AOP framework |
|
4 | - * |
|
5 | - * @copyright Copyright 2014, Lisachenko Alexander <[email protected]> |
|
6 | - * |
|
7 | - * This source file is subject to the license that is bundled |
|
8 | - * with this source code in the file LICENSE. |
|
9 | - */ |
|
3 | + * Go! AOP framework |
|
4 | + * |
|
5 | + * @copyright Copyright 2014, Lisachenko Alexander <[email protected]> |
|
6 | + * |
|
7 | + * This source file is subject to the license that is bundled |
|
8 | + * with this source code in the file LICENSE. |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Go\Aop\Support; |
12 | 12 | |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | */ |
35 | 35 | public function getAnnotation($annotationName) |
36 | 36 | { |
37 | - return self::getReader()->getMethodAnnotation($this, $annotationName); |
|
37 | + return self::getReader()->getMethodAnnotation($this, $annotationName); |
|
38 | 38 | } |
39 | 39 | |
40 | 40 | /** |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | $output->writeln("Total <info>{$totalFiles}</info> files to process."); |
76 | 76 | $iterator->rewind(); |
77 | 77 | |
78 | - set_error_handler(function ($errno, $errstr, $errfile, $errline) { |
|
78 | + set_error_handler(function($errno, $errstr, $errfile, $errline) { |
|
79 | 79 | throw new \ErrorException($errstr, $errno, 0, $errfile, $errline); |
80 | 80 | }); |
81 | 81 | |
@@ -89,8 +89,8 @@ discard block |
||
89 | 89 | try { |
90 | 90 | // This will trigger creation of cache |
91 | 91 | file_get_contents( |
92 | - FilterInjectorTransformer::PHP_FILTER_READ. |
|
93 | - SourceTransformingLoader::FILTER_IDENTIFIER. |
|
92 | + FilterInjectorTransformer::PHP_FILTER_READ . |
|
93 | + SourceTransformingLoader::FILTER_IDENTIFIER . |
|
94 | 94 | "/resource=" . $file->getRealPath() |
95 | 95 | ); |
96 | 96 | $isSuccess = true; |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Go! AOP framework |
|
4 | - * |
|
5 | - * @copyright Copyright 2013, Lisachenko Alexander <[email protected]> |
|
6 | - * |
|
7 | - * This source file is subject to the license that is bundled |
|
8 | - * with this source code in the file LICENSE. |
|
9 | - */ |
|
3 | + * Go! AOP framework |
|
4 | + * |
|
5 | + * @copyright Copyright 2013, Lisachenko Alexander <[email protected]> |
|
6 | + * |
|
7 | + * This source file is subject to the license that is bundled |
|
8 | + * with this source code in the file LICENSE. |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Go\Proxy; |
12 | 12 |
@@ -246,7 +246,7 @@ |
||
246 | 246 | $magicTransformer = new MagicConstantTransformer($this); |
247 | 247 | $aspectKernel = $this; |
248 | 248 | |
249 | - $sourceTransformers = function () use ($filterInjector, $magicTransformer, $aspectKernel, $cacheManager) { |
|
249 | + $sourceTransformers = function() use ($filterInjector, $magicTransformer, $aspectKernel, $cacheManager) { |
|
250 | 250 | $transformers = array(); |
251 | 251 | $aspectContainer = $aspectKernel->getContainer(); |
252 | 252 | $transformers[] = new WeavingTransformer( |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Go! AOP framework |
|
4 | - * |
|
5 | - * @copyright Copyright 2012, Lisachenko Alexander <[email protected]> |
|
6 | - * |
|
7 | - * This source file is subject to the license that is bundled |
|
8 | - * with this source code in the file LICENSE. |
|
9 | - */ |
|
3 | + * Go! AOP framework |
|
4 | + * |
|
5 | + * @copyright Copyright 2012, Lisachenko Alexander <[email protected]> |
|
6 | + * |
|
7 | + * This source file is subject to the license that is bundled |
|
8 | + * with this source code in the file LICENSE. |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Go\Proxy; |
12 | 12 |
@@ -58,7 +58,7 @@ |
||
58 | 58 | if (!is_callable($value)) { |
59 | 59 | throw new \InvalidArgumentException("Only callable values can be shared in the container"); |
60 | 60 | } |
61 | - $value = function ($container) use ($value) { |
|
61 | + $value = function($container) use ($value) { |
|
62 | 62 | static $sharedValue; |
63 | 63 | |
64 | 64 | if (null === $sharedValue) { |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Go! AOP framework |
|
4 | - * |
|
5 | - * @copyright Copyright 2012, Lisachenko Alexander <[email protected]> |
|
6 | - * |
|
7 | - * This source file is subject to the license that is bundled |
|
8 | - * with this source code in the file LICENSE. |
|
9 | - */ |
|
3 | + * Go! AOP framework |
|
4 | + * |
|
5 | + * @copyright Copyright 2012, Lisachenko Alexander <[email protected]> |
|
6 | + * |
|
7 | + * This source file is subject to the license that is bundled |
|
8 | + * with this source code in the file LICENSE. |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Go\Proxy; |
12 | 12 |
@@ -77,7 +77,7 @@ |
||
77 | 77 | { |
78 | 78 | $loadedItems = array(); |
79 | 79 | $pointcut = $this->parsePointcut($aspect, $reflection, $metaInformation); |
80 | - $methodId = get_class($aspect).'->'.$reflection->name; |
|
80 | + $methodId = get_class($aspect) . '->' . $reflection->name; |
|
81 | 81 | $adviceCallback = Framework\BaseAdvice::fromAspectReflection($aspect, $reflection); |
82 | 82 | |
83 | 83 | if (isset($metaInformation->scope) && $metaInformation->scope !== 'aspect') { |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Go! AOP framework |
|
4 | - * |
|
5 | - * @copyright Copyright 2012, Lisachenko Alexander <[email protected]> |
|
6 | - * |
|
7 | - * This source file is subject to the license that is bundled |
|
8 | - * with this source code in the file LICENSE. |
|
9 | - */ |
|
3 | + * Go! AOP framework |
|
4 | + * |
|
5 | + * @copyright Copyright 2012, Lisachenko Alexander <[email protected]> |
|
6 | + * |
|
7 | + * This source file is subject to the license that is bundled |
|
8 | + * with this source code in the file LICENSE. |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Go\Proxy; |
12 | 12 |