private function getJsonInstance($property)
    {
        if(!$this->isJsonProperty($property))
            throw new JsonPropertyException("Requested property '{$property}' is not a valid for '".get_class($this->model)."'.");

        if(!array_key_exists($property, $this->jsonInstances))
            $this->jsonInstances[$property] = new JsonProperty( $this->model, $property );

        return $this->jsonInstances[$property];
    }
private function getJsonInstance($property)
    {
        if(!$this->isJsonProperty($property))
            throw new JsonPropertyException("Requested property '{$property}' is not a valid for '".get_class($this->model)."'.");

        if(!array_key_exists($property, $this->jsonInstances))
            $this->jsonInstances[$property] = new JsonProperty( $this->model, $property );

        return $this->jsonInstances[$property];
    }
private function getJsonInstance ( $ property ) { if ( ! $ this -> isJsonProperty ( $ property ) ) throw new JsonPropertyException ( "Requested property '{$property}' is not a valid for '" . get_class ( $ this -> model ) . "'." ) ; if ( ! array_key_exists ( $ property , $ this -> jsonInstances ) ) $ this -> jsonInstances [ $ property ] = new JsonProperty ( $ this -> model , $ property ) ; return $ this -> jsonInstances [ $ property ] ; }
Instantiate the JsonProperty object, or return the existing instance

@param string $property
@return JsonProperty
@throws JsonPropertyException
Instantiate the JsonProperty object or return the existing instance