private function createPostTypes()
    {
        if(!$this->option('posts') && ($this->option('post_types') || $this->option('all'))) {
            $this->comment('Creating dummy Post Types...');
            $output = (new \PostTypeSeeder())
                ->setCommand($this)
                ->run($this->getDefaultOption('post_types'));
            $this->info($output);
        }
        return $this;
    }
private function createPostTypes()
    {
        if(!$this->option('posts') && ($this->option('post_types') || $this->option('all'))) {
            $this->comment('Creating dummy Post Types...');
            $output = (new \PostTypeSeeder())
                ->setCommand($this)
                ->run($this->getDefaultOption('post_types'));
            $this->info($output);
        }
        return $this;
    }
private function createPostTypes ( ) { if ( ! $ this -> option ( 'posts' ) && ( $ this -> option ( 'post_types' ) || $ this -> option ( 'all' ) ) ) { $ this -> comment ( 'Creating dummy Post Types...' ) ; $ output = ( new \ PostTypeSeeder ( ) ) -> setCommand ( $ this ) -> run ( $ this -> getDefaultOption ( 'post_types' ) ) ; $ this -> info ( $ output ) ; } return $ this ; }
Create post types

@return $this
Create post types