protected static function getField(
        ParticleInterface $particle,
        FieldsCargo $cargo,
        string $name,
        array $args = []
    )/*: mixed*/
    {
        $name = Utils::findFieldName($cargo, $name);
        return $particle->attributes()->$name; // test with null.
    }
protected static function getField(
        ParticleInterface $particle,
        FieldsCargo $cargo,
        string $name,
        array $args = []
    )/*: mixed*/
    {
        $name = Utils::findFieldName($cargo, $name);
        return $particle->attributes()->$name; // test with null.
    }
protected static function getField ( ParticleInterface $ particle , FieldsCargo $ cargo , string $ name , array $ args = [ ] ) /*: mixed*/ { $ name = Utils :: findFieldName ( $ cargo , $ name ) ; return $ particle -> attributes ( ) -> $ name ; // test with null. }
Returns the field value

@param ParticleInterface $particle
@param FieldsCargo $cargo
@param string $name Field name
@param array $args Any arguments if available

@return mixed Field value
Returns the field value