public function getBuilder(AbstractModel $model): ?AbstractBuilder {
		if ($model instanceof PhpClass) {
			return $this->classBuilder;
		}

		if ($model instanceof PhpConstant) {
			return $this->constantBuilder;
		}

		if ($model instanceof PhpFunction) {
			return $this->functionBuilder;
		}

		if ($model instanceof PhpInterface) {
			return $this->interfaceBuilder;
		}

		if ($model instanceof PhpMethod) {
			return $this->methodBuilder;
		}

		if ($model instanceof PhpParameter) {
			return $this->parameterBuilder;
		}

		if ($model instanceof PhpProperty) {
			return $this->propertyBuilder;
		}

		if ($model instanceof PhpTrait) {
			return $this->traitBuilder;
		}

		return null;
	}
public function getBuilder(AbstractModel $model): ?AbstractBuilder {
		if ($model instanceof PhpClass) {
			return $this->classBuilder;
		}

		if ($model instanceof PhpConstant) {
			return $this->constantBuilder;
		}

		if ($model instanceof PhpFunction) {
			return $this->functionBuilder;
		}

		if ($model instanceof PhpInterface) {
			return $this->interfaceBuilder;
		}

		if ($model instanceof PhpMethod) {
			return $this->methodBuilder;
		}

		if ($model instanceof PhpParameter) {
			return $this->parameterBuilder;
		}

		if ($model instanceof PhpProperty) {
			return $this->propertyBuilder;
		}

		if ($model instanceof PhpTrait) {
			return $this->traitBuilder;
		}

		return null;
	}
public function getBuilder ( AbstractModel $ model ) : ? AbstractBuilder { if ( $ model instanceof PhpClass ) { return $ this -> classBuilder ; } if ( $ model instanceof PhpConstant ) { return $ this -> constantBuilder ; } if ( $ model instanceof PhpFunction ) { return $ this -> functionBuilder ; } if ( $ model instanceof PhpInterface ) { return $ this -> interfaceBuilder ; } if ( $ model instanceof PhpMethod ) { return $ this -> methodBuilder ; } if ( $ model instanceof PhpParameter ) { return $ this -> parameterBuilder ; } if ( $ model instanceof PhpProperty ) { return $ this -> propertyBuilder ; } if ( $ model instanceof PhpTrait ) { return $ this -> traitBuilder ; } return null ; }
Returns the related builder for the given model

@param AbstractModel $model
@return AbstractBuilder
Returns the related builder for the given model