isSharded() публичный Метод

Checks whether this document has shard key or not.
public isSharded ( ) : boolean
Результат boolean
Пример #1
0
 public function testIsShardedIfThereIsAShardKey()
 {
     $cm = new ClassMetadataInfo('stdClass');
     $cm->setShardKey(array('id' => 'asc'));
     $this->assertTrue($cm->isSharded());
 }