-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace Nette\Object with Nette\SmartObject
- Loading branch information
Showing
20 changed files
with
90 additions
and
30 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,9 +20,11 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class AdviceDefinition extends Nette\Object | ||
class AdviceDefinition | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
/** | ||
* @var Method | ||
*/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,9 +18,11 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class AspectsConfig extends Nette\Object | ||
class AspectsConfig | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
/** | ||
* @var array | ||
*/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,9 +20,11 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
abstract class MethodInvocation extends Nette\Object | ||
abstract class MethodInvocation | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
/** | ||
* @var object | ||
*/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,11 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class AdvisedClassType extends Nette\Object | ||
class AdvisedClassType | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
const CG_INJECT_METHOD = '__injectAopContainer'; | ||
const CG_PUBLIC_PROXY_PREFIX = '__publicAopProxy_'; | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,8 +21,9 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class AspectAnalyzer extends Nette\Object | ||
class AspectAnalyzer | ||
{ | ||
use Nette\SmartObject; | ||
|
||
/** | ||
* @var \Doctrine\Common\Annotations\Reader | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,11 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class ClassAnnotateWithMatcher extends Nette\Object implements Kdyby\Aop\Pointcut\Filter | ||
class ClassAnnotateWithMatcher implements Kdyby\Aop\Pointcut\Filter | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,8 +21,11 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class Criteria extends Nette\Object | ||
class Criteria | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
const TYPE_AND = 'AND'; | ||
const TYPE_OR = 'OR'; | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,9 +18,11 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class EvaluateMatcher extends Nette\Object implements Kdyby\Aop\Pointcut\Filter, Kdyby\Aop\Pointcut\RuntimeFilter | ||
class EvaluateMatcher implements Kdyby\Aop\Pointcut\Filter, Kdyby\Aop\Pointcut\RuntimeFilter | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
/** | ||
* @var Criteria | ||
*/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,9 +18,11 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class FilterMatcher extends Nette\Object implements Kdyby\Aop\Pointcut\Filter | ||
class FilterMatcher implements Kdyby\Aop\Pointcut\Filter | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
/** | ||
* @var \Kdyby\Aop\Pointcut\Filter | ||
*/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,9 +18,11 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class Inverse extends Nette\Object implements Kdyby\Aop\Pointcut\Filter | ||
class Inverse implements Kdyby\Aop\Pointcut\Filter | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
/** | ||
* @var \Kdyby\Aop\Pointcut\Filter | ||
*/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,11 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class MethodAnnotateWithMatcher extends Nette\Object implements Kdyby\Aop\Pointcut\Filter | ||
class MethodAnnotateWithMatcher implements Kdyby\Aop\Pointcut\Filter | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,9 +18,11 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class MethodMatcher extends Nette\Object implements Kdyby\Aop\Pointcut\Filter | ||
class MethodMatcher implements Kdyby\Aop\Pointcut\Filter | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,9 +18,11 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class SettingMatcher extends Nette\Object implements Kdyby\Aop\Pointcut\Filter | ||
class SettingMatcher implements Kdyby\Aop\Pointcut\Filter | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
/** | ||
* @var Criteria | ||
*/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,9 +18,11 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class WithinMatcher extends Nette\Object implements Kdyby\Aop\Pointcut\Filter | ||
class WithinMatcher implements Kdyby\Aop\Pointcut\Filter | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,9 +20,11 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class MatcherFactory extends Nette\Object | ||
class MatcherFactory | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
/** | ||
* @var \Nette\DI\ContainerBuilder | ||
*/ | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,8 +21,10 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class Parser extends Nette\Object | ||
class Parser | ||
{ | ||
use Nette\SmartObject; | ||
|
||
const TOK_BRACKET = 'bracket'; | ||
const TOK_VISIBILITY = 'visibility'; | ||
const TOK_KEYWORD = 'keyword'; | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,11 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class Rules extends Nette\Object implements Filter, RuntimeFilter | ||
class Rules implements Filter, RuntimeFilter | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
const OP_AND = 'AND'; | ||
const OP_OR = 'OR'; | ||
|
||
|
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
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