1 2 3 4 5 6 7 8 9
<?php class Complex { private $_map; public function getMap(){ return $this->_map; } public function setMap(TMap $map){ $this->_map = $map; } }