public function assertNodeIsVersionable(NodeInterface $node)
    {
        if (!$this->nodeHasMixinType($node, 'mix:versionable')) {
            throw new \OutOfBoundsException(sprintf(
                'Node "%s" is not versionable', $node->getPath()
            ));
        }
    }
public function assertNodeIsVersionable(NodeInterface $node)
    {
        if (!$this->nodeHasMixinType($node, 'mix:versionable')) {
            throw new \OutOfBoundsException(sprintf(
                'Node "%s" is not versionable', $node->getPath()
            ));
        }
    }
public function assertNodeIsVersionable ( NodeInterface $ node ) { if ( ! $ this -> nodeHasMixinType ( $ node , 'mix:versionable' ) ) { throw new \ OutOfBoundsException ( sprintf ( 'Node "%s" is not versionable' , $ node -> getPath ( ) ) ) ; } }
Return true if the given node is versionable.
Return true if the given node is versionable .