concrete/src/Console/Command/ConfigCommand.php
private function doSetAction(Repository $repository, $item)
    {
        if (!$this->hasArgument('value')) {
            $this->output->error('A value must be provided when using the "set" action.');
        }

        $value = $this->argument('value');
        $repository->save($item, $this->unserialize($value));
    }
private function doSetAction(Repository $repository, $item)
    {
        if (!$this->hasArgument('value')) {
            $this->output->error('A value must be provided when using the "set" action.');
        }

        $value = $this->argument('value');
        $repository->save($item, $this->unserialize($value));
    }
private function doSetAction ( Repository $ repository , $ item ) { if ( ! $ this -> hasArgument ( 'value' ) ) { $ this -> output -> error ( 'A value must be provided when using the "set" action.' ) ; } $ value = $ this -> argument ( 'value' ) ; $ repository -> save ( $ item , $ this -> unserialize ( $ value ) ) ; }
Complete a requested set action

@param Repository $repository
@param string $item
Complete a requested set action