src/Utility/DomainEntityBuilder.php
private function populatePropertyComments()
    {
        if (is_null($this->properties)) {
            throw new UnexpectedValueException('Properties are expected here');
        }

        if (!is_array($this->properties)) {
            throw new UnexpectedValueException('Properties should be provided as array');
        }
        // if nothing to do here
        if (is_array($this->properties) && empty($this->properties)) {
            return null;
        }

        $extractor = new MetadataExtractor();
        $this->model = $extractor->processComments($this->properties);
    }
private function populatePropertyComments()
    {
        if (is_null($this->properties)) {
            throw new UnexpectedValueException('Properties are expected here');
        }

        if (!is_array($this->properties)) {
            throw new UnexpectedValueException('Properties should be provided as array');
        }
        // if nothing to do here
        if (is_array($this->properties) && empty($this->properties)) {
            return null;
        }

        $extractor = new MetadataExtractor();
        $this->model = $extractor->processComments($this->properties);
    }
Collect comments for defined properties. It will be used to extract meta data
@return mixed
@throws UnexpectedValueException