src/AnnotationProcessor/PropertyInformation.php
public function setFullyQualifiedType(string $type): self
    {
        if ('' === $type) {
            $this->fully_qualified_type = '';

            return $this;
        }

        if ($type[0] === '\\') {
            $this->fully_qualified_type = $type;

            return $this;
        }

        throw new \DomainException(sprintf('The type %s is not a valid fully qualified class name', $type));
    }
public function setFullyQualifiedType(string $type): self
    {
        if ('' === $type) {
            $this->fully_qualified_type = '';

            return $this;
        }

        if ($type[0] === '\\') {
            $this->fully_qualified_type = $type;

            return $this;
        }

        throw new \DomainException(sprintf('The type %s is not a valid fully qualified class name', $type));
    }
public function setFullyQualifiedType ( string $ type ) : self { if ( '' === $ type ) { $ this -> fully_qualified_type = '' ; return $ this ; } if ( $ type [ 0 ] === '\\' ) { $ this -> fully_qualified_type = $ type ; return $ this ; } throw new \ DomainException ( sprintf ( 'The type %s is not a valid fully qualified class name' , $ type ) ) ; }
Set the fully qualified type for this property.
The type must be a valid class name starting from
the root namespace, so it should start with a \

@param string $type

@throws \DomainException
@return PropertyInformation
Set the fully qualified type for this property . The type must be a valid class name starting from the root namespace so it should start with a \