plugin/path/Entity/Path/Path.php
public function initializeStructure()
    {
        $structure = [
            'id' => $this->getId(),
            'name' => $this->getName(),
            'description' => $this->getDescription(),
            'manualProgressionAllowed' => $this->manualProgressionAllowed,
            'steps' => [],
        ];

        $this->setStructure(json_encode($structure));

        return $this;
    }
public function initializeStructure()
    {
        $structure = [
            'id' => $this->getId(),
            'name' => $this->getName(),
            'description' => $this->getDescription(),
            'manualProgressionAllowed' => $this->manualProgressionAllowed,
            'steps' => [],
        ];

        $this->setStructure(json_encode($structure));

        return $this;
    }
public function initializeStructure ( ) { $ structure = [ 'id' => $ this -> getId ( ) , 'name' => $ this -> getName ( ) , 'description' => $ this -> getDescription ( ) , 'manualProgressionAllowed' => $ this -> manualProgressionAllowed , 'steps' => [ ] , ] ; $ this -> setStructure ( json_encode ( $ structure ) ) ; return $ this ; }
Initialize JSON structure.

@return Path

@deprecated
Initialize JSON structure .