pathEndIdentifierType() 공개 메소드

If the key is incomplete, returns null. Example: $lastPathElementIdentifierType = $key->pathEndIdentifierType();
public pathEndIdentifierType ( ) : string | null
리턴 string | null
예제 #1
0
 public function testPathEndIdentifierTypeNull()
 {
     $key = new Key('foo', ['path' => [['kind' => 'foo', 'id' => 2], ['kind' => 'bar']]]);
     $this->assertNull($key->pathEndIdentifierType());
 }