/** * @param string $valueClassName * @param string $offsetMethod * @param array $offsetArgs * @return void */ public function __construct($valueClassName, $offsetMethod, array $offsetArgs = array()) { $this->offsetMethod = new \ReflectionMethod($valueClassName, $offsetMethod); $this->offsetArgs = $offsetArgs; parent::__construct(null, $valueClassName); }