original_string: protected function setPositionProperty(array &$properties, $positionX, $positionY, $positionZ = null)
      {
          $position = array((float)$positionX, (float)$positionY);
          if ($positionZ) {
              array_push($position, (float)$positionZ);
          }
          $this->setProperty($properties, "pos", implode(" ", $position));
          return $this;
      }
code: protected function setPositionProperty(array &$properties, $positionX, $positionY, $positionZ = null)
      {
          $position = array((float)$positionX, (float)$positionY);
          if ($positionZ) {
              array_push($position, (float)$positionZ);
          }
          $this->setProperty($properties, "pos", implode(" ", $position));
          return $this;
      }
code_tokens: protected function setPositionProperty ( array & $ properties , $ positionX , $ positionY , $ positionZ = null ) { $ position = array ( ( float ) $ positionX , ( float ) $ positionY ) ; if ( $ positionZ ) { array_push ( $ position , ( float ) $ positionZ ) ; } $ this -> setProperty ( $ properties , "pos" , implode ( " " , $ position ) ) ; return $ this ; }
docstring: Set the Position property value
  
  @param array $properties Properties array
  @param float $positionX  X position
  @param float $positionY  Y position
  @param float $positionZ  (optional) Z position (Z-index)
  @return static
docstring_tokens: Set the Position property value