public function createItems()
    {
        $count = $this->hasRequestParameter('count') ? $this->getRequestParameter('count') : 100;

        DataGenerator::generateItems($count);

        echo 'created '.$count.' items';
    }
public function createItems()
    {
        $count = $this->hasRequestParameter('count') ? $this->getRequestParameter('count') : 100;

        DataGenerator::generateItems($count);

        echo 'created '.$count.' items';
    }
public function createItems ( ) { $ count = $ this -> hasRequestParameter ( 'count' ) ? $ this -> getRequestParameter ( 'count' ) : 100 ; DataGenerator :: generateItems ( $ count ) ; echo 'created ' . $ count . ' items' ; }
Work in progress
Work in progress