Phrozn/Registry/Dao/Serialized.php
public function save()
    {
        if ($path = $this->getProjectPath()) {
            $path .= '/' . $this->getOutputFile();
            file_put_contents($path, serialize($this->getContainer()));
        } else {
            throw new \RuntimeException('No project path provided.');
        }
        return $this;
    }
public function save()
    {
        if ($path = $this->getProjectPath()) {
            $path .= '/' . $this->getOutputFile();
            file_put_contents($path, serialize($this->getContainer()));
        } else {
            throw new \RuntimeException('No project path provided.');
        }
        return $this;
    }
public function save ( ) { if ( $ path = $ this -> getProjectPath ( ) ) { $ path .= '/' . $ this -> getOutputFile ( ) ; file_put_contents ( $ path , serialize ( $ this -> getContainer ( ) ) ) ; } else { throw new \ RuntimeException ( 'No project path provided.' ) ; } return $ this ; }
Save current registry container

@return \Phorzn\Registry\Dao
Save current registry container