Advertisement
Guest User

New Job - Potestatem

a guest
Oct 21st, 2016
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. <?php
  2.  
  3. class Potestatem extends Job
  4. {
  5. protected $local = 'Belo Horizonte - Minas Gerais';
  6. protected $hours = '44 horas semanais (Segunda a sexta das 9 as 18:48';
  7. protected $descrition = 'Potestatem contrata programdor com experiência.
  8. Enviar currículo com pretenção salarial';
  9. protected $salary;
  10. protected $required = [
  11. 'PHP OO',
  12. 'SGBD + SQL',
  13. 'Javascript + JQuery',
  14. 'HTML5 + CSS',
  15. 'Bootstrap',
  16. 'Sistema de controle de versão (git, svn)',
  17. 'Conhecimento em configuração de servidores linux (arquitetura de serviços na AWS)',
  18. ];
  19.  
  20. protected $differential = [
  21. 'REST/SOAP',
  22. 'Domínio de processos da Amazon.',
  23. 'Conhecimento de Agile: metodologias com Scrum e Kanbna',
  24. 'SEO',
  25. 'Angular',
  26. 'Framework MVC - (Preferencia Laravel)',
  27. // 'Sistema de controle de versão (git, svn)', // ?? Required or Differential?
  28. ];
  29.  
  30. protected $email = 'rh@potestatem.com.br';
  31. public $subject;
  32. public $body;
  33. public $curriculum;
  34.  
  35. public function __construct(string $name, $curriculum)
  36. {
  37. $this->subject = '[Desenvolvedor Sênior PHP] - '.$name;
  38. $this->setBody($curriculum);
  39. }
  40.  
  41. public function setBody($curriculum)
  42. {
  43. $this->body = 'Porque quer trabalhar na postestatem?';
  44. $this->curriculum = $curriculum;
  45. if ($curriculum instanceof PDF) {
  46. return $this->attach($curriculum);
  47. }
  48.  
  49. $this->body .= $curriculum;
  50. }
  51.  
  52. public function send()
  53. {
  54. if ($this->isValid($this->curriculum) && $this->sendEmail($this->email, $this->subject, $this->body)) {
  55. return 'Good luck!';
  56. }
  57.  
  58. return false;
  59. }
  60. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement