_isNamed = ! is_numeric($param); if ($this->_isNamed) { $this->_name = $param; } else { $this->_position = $param; } } public function isNamed() { return $this->_isNamed; } public function isPositional() { return ! $this->_isNamed; } public function getName() { return $this->_name; } public function getPosition() { return $this->_position; } }