[Beeframework-svn] SF.net SVN: beeframework:[248] trunk/framework/Bee
Brought to you by:
b_hartmann,
m_plomer
|
From: <m_p...@us...> - 2014-10-08 23:42:07
|
Revision: 248
http://sourceforge.net/p/beeframework/code/248
Author: m_plomer
Date: 2014-10-08 23:41:59 +0000 (Wed, 08 Oct 2014)
Log Message:
-----------
- omissions from previous namespace refactoring
Modified Paths:
--------------
trunk/framework/Bee/Security/Transactions/Interceptor/NameMatchTransactionAttributeSource.php
trunk/framework/Bee/Utils/PatternMatcher.php
Modified: trunk/framework/Bee/Security/Transactions/Interceptor/NameMatchTransactionAttributeSource.php
===================================================================
--- trunk/framework/Bee/Security/Transactions/Interceptor/NameMatchTransactionAttributeSource.php 2014-10-08 23:22:21 UTC (rev 247)
+++ trunk/framework/Bee/Security/Transactions/Interceptor/NameMatchTransactionAttributeSource.php 2014-10-08 23:41:59 UTC (rev 248)
@@ -14,6 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+use Bee\Utils\PatternMatcher;
/**
* Created by IntelliJ IDEA.
@@ -91,11 +92,10 @@
* as well as direct equality. Can be overridden in subclasses.
* @param string $methodName the method name of the class
* @param string $mappedName the name in the descriptor
- * @return if the names match
+ * @return bool if the names match
* @see org.springframework.util.PatternMatchUtils#simpleMatch(String, String)
*/
protected function isMatch($methodName, $mappedName) {
- return Bee_Utils_PatternMatcher::simpleMatch($mappedName, $methodName);
+ return PatternMatcher::simpleMatch($mappedName, $methodName);
}
-}
-?>
\ No newline at end of file
+}
\ No newline at end of file
Modified: trunk/framework/Bee/Utils/PatternMatcher.php
===================================================================
--- trunk/framework/Bee/Utils/PatternMatcher.php 2014-10-08 23:22:21 UTC (rev 247)
+++ trunk/framework/Bee/Utils/PatternMatcher.php 2014-10-08 23:41:59 UTC (rev 248)
@@ -1,4 +1,5 @@
<?php
+namespace Bee\Utils;
/*
* Copyright 2008-2014 the original author or authors.
*
@@ -14,7 +15,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-use Bee\Utils\Strings;
/**
* Created by IntelliJ IDEA.
@@ -24,7 +24,7 @@
* To change this template use File | Settings | File Templates.
*/
-class Bee_Utils_PatternMatcher {
+class PatternMatcher {
/**
* Match a String against the given pattern, supporting the following simple
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|