8000 [PropertyAccess] removed an interface as discussion in the previous m… · norberttech/symfony@e48e234 · GitHub
[go: up one dir, main page]

Skip to content

Commit e48e234

Browse files
committed
[PropertyAccess] removed an interface as discussion in the previous merge (refs symfony#7263)
1 parent d8ac478 commit e48e234

File tree

3 files changed

+13
-53
lines changed

3 files changed

+13
-53
lines changed

src/Symfony/Component/PropertyAccess/PropertyAccessorBuilder.php

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,21 @@
1212
namespace Symfony\Component\PropertyAccess;
1313

1414
/**
15-
* The default implementation of {@link PropertyAccessorBuilderInterface}.
15+
* A configurable builder for PropertyAccessorInterface objects.
1616
*
1717
* @author Jérémie Augustin <jeremie.augustin@pixel-cookers.com>
1818
*/
19-
class PropertyAccessorBuilder implements PropertyAccessorBuilderInterface
19+
class PropertyAccessorBuilder
2020
{
2121
/**
2222
* @var Boolean
2323
*/
2424
private $magicCall = false;
2525

2626
/**
27-
* {@inheritdoc}
27+
* Enables the use of "__call" by the ProperyAccessor.
28+
*
29+
* @return PropertyAccessorBuilder The builder object
2830
*/
2931
public function enableMagicCall()
3032
{
@@ -34,7 +36,9 @@ public function enableMagicCall()
3436
}
3537

3638
/**
37-
* {@inheritdoc}
39+
* Disables the use of "__call" by the ProperyAccessor.
40+
*
41+
* @return PropertyAccessorBuilder The builder object
3842
*/
3943
public function disableMagicCall()
4044
{
@@ -44,15 +48,17 @@ public function disableMagicCall()
4448
}
4549

4650
/**
47-
* {@inheritdoc}
51+
* @return Boolean true if the use of "__call" by the ProperyAccessor is enabled
4852
*/
4953
public function isMagicCallEnabled()
5054
{
5155
return $this->magicCall;
5256
}
5357

5458
/**
55-
* {@inheritdoc}
59+
* Builds and returns a new propertyAccessor object.
60+
*
61+
* @return PropertyAccessorInterface The built propertyAccessor
5662
*/
5763
public function getPropertyAccessor()
5864
{

src/Symfony/Component/PropertyAccess/PropertyAccessorBuilderInterface.php

Lines changed: 0 additions & 46 deletions
This file was deleted.

src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
class PropertyAccessorBuilderTest extends \PHPUnit_Framework_TestCase
1717
{
1818
/**
19-
* @var PropertyAccessorBuilderInterface
19+
* @var PropertyAccessorBuilder
2020
*/
2121
protected $builder;
2222

0 commit comments

Comments
 (0)
0