private function generateGetPropertyClosure( $property )
    {
        $mapper = $this->getPropertyMapper($property);
        return function( $obj ) use ( $mapper ) {
            return $mapper->get($obj);
        };
    }
private function generateGetPropertyClosure( $property )
    {
        $mapper = $this->getPropertyMapper($property);
        return function( $obj ) use ( $mapper ) {
            return $mapper->get($obj);
        };
    }
private function generateGetPropertyClosure ( $ property ) { $ mapper = $ this -> getPropertyMapper ( $ property ) ; return function ( $ obj ) use ( $ mapper ) { return $ mapper -> get ( $ obj ) ; } ; }
Returns a callable to access a object property
@param string $property
@return callable
Returns a callable to access a object property