Devuelve el DataType

@return \PlanB\Type\DataType\DataType
962904
public function getType(): DataType
    {
        if (is_object($this->variable)) {
            $typeName = get_class($this->variable);

            return DataType::make($typeName);
        }

        $typeName = gettype($this->variable);

        return DataType::make($typeName);
    }
964694
public function getTypeSerializer()
    {
        $type = 'array<'.$this->element->getTypeSerializer().'>';

        // if we have a x-dynamic-key field, serializer type must be changed
        if ($this->element instanceof JsonDefinitionField && !empty($this->element->getXDynamicKey())) {
            $type = 'array<string, '.$this->element->getTypeSerializer().'>';
        }

        return $type;
    }
195024
public function getForDynamoDB()
    {
        if ($this->isArray()) {
            $value = array_map(function ($val) { return strval($val); }, $this->getValue());
        } else {
            $value = strval($this->getValue());
        }

        return array($this->getType() => $value);
    }
409842
public function getDatabaseType()
    {
        $clazz = get_class($this);
        $pos = strpos($clazz, 'Platform');

        return strtolower(substr($clazz, 0, $pos));
    }
901100
public function getData()
    {
        if (null === $this->data) {
            $this->data = $this->dataFactory->create(new ParameterBag($this->options));

            if (false === $this->supportData()) {
                throw new SourceException(
                    sprintf("Mapper source type %s don't support this data!", $this->getTypeName())
                );
            }
        }

        return $this->data;
    }
814637
public function toData()
    {
        $data = [
            'type' => 'standard',
        ];

        if ($this->imageSize) {
            $data['image_size'] = $this->imageSize;
        }

        if ($this->ref) {
            $data['data'] = $this->ref;
        }


        return $data;
    }
1023113
public function getData()
    {
        $connection = $this->resource->getConnection(ResourceConnection::DEFAULT_CONNECTION);
        $result = $connection->fetchAll('SELECT id, plan_name FROM `cko_m2_plans`');

        return $this->formatData($result);
    }
134497
public static function getProjectType()
    {
        $container = self::getContainer();
        $builder = CollectionBuilder::create($container, new ProjectTasks());

        return $container->get('projectXProject')
            ->setBuilder($builder);
    }
651648
public function sqlPdoType()
    {
        $mode = $this->mode();

        if ($mode === self::MODE_AUTO_INCREMENT) {
            return PDO::PARAM_INT;
        } else {
            return PDO::PARAM_STR;
        }
    }
1125547
public function getDatatable()
    {
        $this->datatable->setModel($this->model);
        $this->datatable->build();

        return $this->datatable->generateColomns();
    }
562644
public function getCurrentType()
    {
        if (null !== $index = $this->getCurrencyIndex()) {
            return $index->getType();
        }

        $types = $this->repository->listIndexableEntityTypes();
        $type = array_shift($types);

        return $type;
    }
21698
public function getAtomizedValueType()
	{
		if ( $this->IsNode )
		{
			switch ( $this->TypeCode )
			{
				case XmlTypeCode::Text:
				case XmlTypeCode::ProcessingInstruction:
				case XmlTypeCode::Comment:
				case XmlTypeCode::UntypedAtomic:
					return Types::$UntypedAtomicType;

				default:

					if ( ! is_null( $this->SchemaType ) )
						return $this->SchemaType->Datatype->ValueType;
					else if ( ! is_null( $this->SchemaElement ) )
					{
						if ( ! is_null( $this->SchemaElement->ElementSchemaType ) && ! is_null( $this->SchemaElement->ElementSchemaType->Datatype ) )
							return $this->SchemaElement->ElementSchemaType->Datatype->ValueType;
					}
					else if ( ! is_null( $this->SchemaAttribute ) )
					{
						if ( ! is_null( $this->SchemaAttribute->AttributeSchemaType ) && ! is_null( $this->SchemaAttribute->AttributeSchemaType->Datatype ) )
							return $this->SchemaAttribute->AttributeSchemaType->Datatype->ValueType;
					}
					return Types::$UntypedAtomicType;
			}
		}
		else
			return $this->ItemType;
	}
442352
public function dataTable()
    {
        return (new EloquentDataTable($this->query()))
            ->editColumn('created_at', function (User $user) {
                return $user->created_at->diffForHumans();
            })
            ->editColumn('email', function (User $user) {
                return html()->mailto($user->email);
            })
            ->editColumn('is_blocked', function (User $user) {
                return dt_check($user->is_blocked);
            })
            ->editColumn('is_activated', function (User $user) {
                return dt_check($user->is_activated);
            })
            ->editColumn('is_admin', function (User $user) {
                return dt_check($user->is_admin);
            })
            ->editColumn('roles', function (User $user) {
                return dt_render('administrator.users.datatables.roles', compact('user'));
            })
            ->addColumn('action', function (User $user) {
                return dt_render('administrator.users.datatables.action', $user->toArray());
            })
            ->rawColumns(['email', 'is_blocked', 'is_activated', 'is_admin', 'roles', 'action']);
    }
940093
public function getRawDataType()
	{
		if ( !isset($this->dataType) ) {
			/* @var $annotations VarAnnotation[] */
			$annotations = $this->annotationManager->getPropertyAnnotations($this, null, '@var');

			if ( $annotations && ($annotations[0] instanceof VarAnnotation) ) {
				$this->dataType = $annotations[0]->type;
			}
			else {
				$this->dataType = '';
			}
		}

		return $this->dataType;
	}
1293627
public function getDataType()
    {
        if (!is_array($this->dataType)) {
            $dataType = get_class($this->dataType);

            return new $dataType();
        }

        return $this->dataType;
    }
664099
public static function getTypes() {
        return array(
            self::TYPE_CHARACTER,
            self::TYPE_LOGICAL,
            self::TYPE_DATE ,
            self::TYPE_NUMERIC,
            self::TYPE_MEMO,
        );
    }
468580
public function getDataMapper()
    {
        $dataMapper = Ioc::make(DataMapper::class);
        $dataMapper->setSchema($this->getSchema());

        return $dataMapper;
    }