src/Graviton/SchemaBundle/Constraint/VersionServiceConstraint.php
public function isVersioningService()
    {
        $schema = $this->utils->getCurrentSchema();
        if (isset($schema->{'x-versioning'}) && $schema->{'x-versioning'} === true) {
            return true;
        }
        return false;
    }
public function isVersioningService()
    {
        $schema = $this->utils->getCurrentSchema();
        if (isset($schema->{'x-versioning'}) && $schema->{'x-versioning'} === true) {
            return true;
        }
        return false;
    }
public function isVersioningService ( ) { $ schema = $ this -> utils -> getCurrentSchema ( ) ; if ( isset ( $ schema -> { 'x-versioning' } ) && $ schema -> { 'x-versioning' } === true ) { return true ; } return false ; }
tells whether the current service has versioning activated or not

@return bool true if yes, false otherwise
tells whether the current service has versioning activated or not