ApiPlatform\SchemaGenerator\AnnotationGenerator\PhpDocAnnotationGenerator::generateRemoverAnnotations PHP Method

generateRemoverAnnotations() public method

public generateRemoverAnnotations ( $className, $fieldName )
    public function generateRemoverAnnotations($className, $fieldName)
    {
        return [sprintf('Removes %s.', $fieldName), '', sprintf('@param  %s $%s', $this->toPhpType($this->classes[$className]['fields'][$fieldName], true), $fieldName), '', '@return $this'];
    }