framework/RedKiteCms/Content/BlockManager/BlockManager.php
protected function saveSlotDefinition($dir, array $slot)
    {
        $slotsFilename = $this->getSlotDefinitionFile($dir);

        FilesystemTools::writeFile($slotsFilename, json_encode($slot), $this->filesystem);
    }
protected function saveSlotDefinition($dir, array $slot)
    {
        $slotsFilename = $this->getSlotDefinitionFile($dir);

        FilesystemTools::writeFile($slotsFilename, json_encode($slot), $this->filesystem);
    }
protected function saveSlotDefinition ( $ dir , array $ slot ) { $ slotsFilename = $ this -> getSlotDefinitionFile ( $ dir ) ; FilesystemTools :: writeFile ( $ slotsFilename , json_encode ( $ slot ) , $ this -> filesystem ) ; }
Saves the slot definition

@param string $dir
@param array $slot
Saves the slot definition