03.12.2015 Views

laravel4cookbook

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Deployment 74<br />

28 public function __construct()<br />

29 {<br />

30 parent::__construct();<br />

31 }<br />

32<br />

33 /**<br />

34 * Execute the console command.<br />

35 *<br />

36 * @return void<br />

37 */<br />

38 public function fire()<br />

39 {<br />

40 //<br />

41 }<br />

42<br />

43 /**<br />

44 * Get the console command arguments.<br />

45 *<br />

46 * @return array<br />

47 */<br />

48 protected function getArguments()<br />

49 {<br />

50 return array(<br />

51 array(<br />

52 'example',<br />

53 InputArgument::REQUIRED,<br />

54 'An example argument.'<br />

55 ),<br />

56 );<br />

57 }<br />

58<br />

59 /**<br />

60 * Get the console command options.<br />

61 *<br />

62 * @return array<br />

63 */<br />

64 protected function getOptions()<br />

65 {<br />

66 return array(<br />

67 array(<br />

68 'example',<br />

69 null,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!