public function testFromStringWithScalar() { $this->assertSame(ScalarType::getInstance(), MixedType::fromString("scalar")); }
/** * CustomScalarType constructor. * @param array $config */ function __construct(array $config) { $this->name = $config['name']; $this->config = $config; parent::__construct(); }