public function labelObjects() : LabelObjectStrategyDefiner
    {
        return new LabelObjectStrategyDefiner($this->classType, function (callable $labelObjectCallback) {
            $this->labelObjectCallback = function ($object) use ($labelObjectCallback) {
                return (string)$labelObjectCallback($object);
            };
        });
    }
public function labelObjects() : LabelObjectStrategyDefiner
    {
        return new LabelObjectStrategyDefiner($this->classType, function (callable $labelObjectCallback) {
            $this->labelObjectCallback = function ($object) use ($labelObjectCallback) {
                return (string)$labelObjectCallback($object);
            };
        });
    }
public function labelObjects ( ) : LabelObjectStrategyDefiner { return new LabelObjectStrategyDefiner ( $ this -> classType , function ( callable $ labelObjectCallback ) { $ this -> labelObjectCallback = function ( $ object ) use ( $ labelObjectCallback ) { return ( string ) $ labelObjectCallback ( $ object ) ; } ; } ) ; }
Defines the method of how to create a human readable
label for an object.

@return LabelObjectStrategyDefiner
Defines the method of how to create a human readable label for an object .