public function method(string $methodName): PropertyColumnDefiner
    {
        return new PropertyColumnDefiner($this, null, function (Column $column) use ($methodName) {
            $this->methodColumnMap[$methodName] = $column->getName();
            $this->addColumn($column);
        });
    }
public function method(string $methodName): PropertyColumnDefiner
    {
        return new PropertyColumnDefiner($this, null, function (Column $column) use ($methodName) {
            $this->methodColumnMap[$methodName] = $column->getName();
            $this->addColumn($column);
        });
    }
public function method ( string $ methodName ) : PropertyColumnDefiner { return new PropertyColumnDefiner ( $ this , null , function ( Column $ column ) use ( $ methodName ) { $ this -> methodColumnMap [ $ methodName ] = $ column -> getName ( ) ; $ this -> addColumn ( $ column ) ; } ) ; }
Defines a mapping between a method call to a column

@param string $methodName

@return PropertyColumnDefiner
Defines a mapping between a method call to a column