public static get ( mixed $primaryKey, array $options = [] ) : static | null | ||
$primaryKey | mixed | the primaryKey value |
$options | array | options given in this parameter are passed to elasticsearch as request URI parameters. Please refer to the [elasticsearch documentation](http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-get.html) for more details on these options. |
return | static | null | The record instance or null if it was not found. |