Update en/cookbook/decorator-pattern.rst
This commit is contained in:
parent
27ac88fe28
commit
ec23961c7d
@ -39,7 +39,7 @@ concrete subclasses, ``ConcreteComponent`` and ``ConcreteDecorator``.
|
|||||||
*/
|
*/
|
||||||
protected $id;
|
protected $id;
|
||||||
|
|
||||||
/** @Column(type="string", nullable="true") */
|
/** @Column(type="string", nullable=true) */
|
||||||
protected $name;
|
protected $name;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -191,7 +191,7 @@ of the getSpecial() method to its return value.
|
|||||||
class ConcreteDecorator extends Decorator
|
class ConcreteDecorator extends Decorator
|
||||||
{
|
{
|
||||||
|
|
||||||
/** @Column(type="string", nullable="true") */
|
/** @Column(type="string", nullable=true) */
|
||||||
protected $special;
|
protected $special;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user