11 function setContainer(MapInterface
$container) {
12 $this->container
= $container;
15 function getContainer() {
16 return $this->container
;
19 function getProperty() {
20 return $this->property
;
23 function defines($property) {
24 return $this->property
=== $property;
27 function exposes($field) {
28 return $this->field
=== $field;
31 function assign($object, $value) {
33 ->getReflector($object, $this->property
)
34 ->setValue($object, $value);
37 function extract($object) {
39 ->getReflector($object, $this->property
)
43 function __toString() {
44 return sprintf("%s: %s(%s)", get_class($this), $this->property
, $this->field?
:"NULL");