Neos\Flow\Property\TypeConverterInterface::getPriority PHP 메소드

getPriority() 공개 메소드

Return the priority of this TypeConverter. TypeConverters with a high priority are chosen before low priority.
public getPriority ( ) : integer
리턴 integer
    public function getPriority();

Usage Example

 /**
  * @test
  */
 public function checkMetadata()
 {
     $this->assertEquals(['string', 'array'], $this->converter->getSupportedSourceTypes(), 'Source types do not match');
     $this->assertEquals('object', $this->converter->getSupportedTargetType(), 'Target type does not match');
     $this->assertEquals(1, $this->converter->getPriority(), 'Priority does not match');
 }
All Usage Examples Of Neos\Flow\Property\TypeConverterInterface::getPriority