Location: PHPKode > projects > GnomePHP > peec-GnomePHP-b5a360b/gnomephp/appcommand/AbstractCommand.php
<?php
namespace gnomephp\appcommand;


use Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption,
Symfony\Component\Console,
Doctrine\ORM\Tools\Console\MetadataFilter;

/**
 * Command to create a new application
 */
class AbstractCommand extends Console\Command\Command
{
	/**
	 * @see Console\Command\Command
	 */
	protected function configure()
	{
		$this
		->setName('app:info')
		->setDescription('Gives information about the application.')
		->setHelp(<<<EOT
Gives you basic information about the application.
EOT
                );
	}

	/**
	 * @see Console\Command\Command
	 */
	protected function execute(Console\Input\InputInterface $input, Console\Output\OutputInterface $output){
		$output->write(PHP_EOL . 'Application name: ' . GNOME_APP_NS . PHP_EOL);
		
	}

	protected function getAppNS(){
		return GNOME_APP_NS;
	}
	
	protected function getAppPath(){
		return GNOME_APP_PATH;
	}
	
	
}
Return current item: GnomePHP