src/VisitInfo.php
/**
     * Create an array of this instance's properties
     * @return array
     */
Create an array of this instance's properties
@return array
Create an array of this instance ' s properties @return array
public function toArray(): array
    {
        $array = [];
        foreach (static::getKeysPropertiesMap() as $key => $property) {
            $array[$key] = $this->{'get' . ucfirst($property)}();
        }
        return $array;
    }
public function toArray ( ) : array { $ array = [ ] ; foreach ( static :: getKeysPropertiesMap ( ) as $ key => $ property ) { $ array [ $ key ] = $ this -> { 'get' . ucfirst ( $ property ) } ( ) ; } return $ array ; }
Create an array of this instance's properties
 @return array
Create an array of this instance ' s properties @return array