This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'upstream/master' into module-class-map-cache
- Loading branch information
107 parents
0c6e411
+
be4dae7
+
7465e5d
+
1b64e7d
+
1f50979
+
92b6722
+
1d54f79
+
ab5cea3
+
4f0b000
+
c18caa3
+
98036b5
+
3b5c10e
+
a248769
+
560d3a2
+
ddfdb8f
+
fd4ce84
+
9e4c786
+
0c0695c
+
500c51d
+
2f2ebee
+
145abe5
+
bf5d8d7
+
fe0fb99
+
5f7322a
+
c3af80d
+
cf95a03
+
6a80fae
+
10ed584
+
053ab77
+
495f1ba
+
d688369
+
56b2490
+
47a689e
+
f52f94e
+
fec9c74
+
28a9d88
+
ac66d19
+
041ae5a
+
63454d4
+
da02d07
+
698a4d6
+
35967e7
+
427640f
+
64a533c
+
e408635
+
c004297
+
b38b581
+
9a9f950
+
47a731a
+
0967316
+
37f548b
+
0df2db0
+
e43587e
+
5784352
+
93b4f40
+
3208a48
+
f5dfded
+
8301af5
+
d4a4329
+
eaf7585
+
12feb56
+
387d3ed
+
eb7fedd
+
a9a0285
+
44fa883
+
08a171a
+
a4b0e54
+
730ce14
+
c24c880
+
80e40b3
+
20961e5
+
8cb611e
+
c958861
+
b8b41bc
+
f82d7c5
+
7784cd5
+
4ed737c
+
785b23e
+
b537b08
+
34ecc47
+
45265ad
+
df6c341
+
efa67eb
+
736f9f8
+
d3b33d9
+
be06520
+
be3997d
+
e7fb236
+
5b19875
+
ed60259
+
ae0af2f
+
761379e
+
118bbd6
+
9ce360b
+
4d4425a
+
cc47b49
+
c4aa2e1
+
c152f67
+
bd774aa
+
a95f940
+
4a9dd4d
+
cc4af6e
+
8a07675
+
c30b083
+
fb3126d
+
f420aa3
+
288aa3f
commit ca50dd5
Showing
7 changed files
with
67 additions
and
11 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
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
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
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
/** | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
* @package Zend_Di | ||
*/ | ||
namespace ZendTest\Di\Definition; | ||
|
||
use Zend\Di\Definition\ClassDefinition; | ||
use PHPUnit_Framework_TestCase as TestCase; | ||
|
||
class ClassDefinitionTest extends TestCase | ||
{ | ||
public function testClassImplementsDefinition() | ||
{ | ||
$definition = new ClassDefinition('Foo'); | ||
$this->assertInstanceOf('Zend\Di\Definition\DefinitionInterface', $definition); | ||
} | ||
|
||
public function testClassDefinitionHasMethods() | ||
{ | ||
$definition = new ClassDefinition('Foo'); | ||
$this->assertFalse($definition->hasMethods('Foo')); | ||
$definition->addMethod('doBar'); | ||
$this->assertTrue($definition->hasMethods('Foo')); | ||
} | ||
} |
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 |
---|---|---|
|
@@ -12,5 +12,5 @@ | |
|
||
class BasicClassWithParam | ||
{ | ||
public function __construct($foo){} | ||
public function __construct($foo) {} | ||
} |