diff -r 279124b91971 -r 01a844d292ac server/src/app/Console/Commands/ImportCocoonRDF.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/server/src/app/Console/Commands/ImportCocoonRDF.php Mon Jun 15 19:30:32 2015 +0200 @@ -0,0 +1,73 @@ +load(); + + echo $doc->dump('text'); + + echo(join(', ', $doc->allOfType('foaf:Agent'))); + } + + /** + * Get the console command arguments. + * + * @return array + */ + protected function getArguments() + { + return [ + ['example', InputArgument::REQUIRED, 'An example argument.'], + ]; + } + + /** + * Get the console command options. + * + * @return array + */ + protected function getOptions() + { + return [ + //['example', null, InputOption::VALUE_OPTIONAL, 'An example option.', null], + ]; + } + +}