src/Generator.php
public function saveStickyAttributes()
    {
        $stickyAttributes = $this->stickyAttributes();
        $stickyAttributes[] = 'template';
        $values = [];
        foreach ($stickyAttributes as $name) {
            $values[$name] = $this->$name;
        }
        $path = $this->getStickyDataFile();
        @mkdir(dirname($path), 0755, true);
        file_put_contents($path, json_encode($values));
    }
public function saveStickyAttributes()
    {
        $stickyAttributes = $this->stickyAttributes();
        $stickyAttributes[] = 'template';
        $values = [];
        foreach ($stickyAttributes as $name) {
            $values[$name] = $this->$name;
        }
        $path = $this->getStickyDataFile();
        @mkdir(dirname($path), 0755, true);
        file_put_contents($path, json_encode($values));
    }
public function saveStickyAttributes ( ) { $ stickyAttributes = $ this -> stickyAttributes ( ) ; $ stickyAttributes [ ] = 'template' ; $ values = [ ] ; foreach ( $ stickyAttributes as $ name ) { $ values [ $ name ] = $ this -> $ name ; } $ path = $ this -> getStickyDataFile ( ) ; @ mkdir ( dirname ( $ path ) , 0755 , true ) ; file_put_contents ( $ path , json_encode ( $ values ) ) ; }
Saves sticky attributes into an internal file.
@internal
Saves sticky attributes into an internal file .