hh
This commit is contained in:
1 parent
1e728726d0
commit
5a8b88b225
40 files changed
+1500
-8
No files matched your search
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: kirill
|
||||
* Date: 15.11.18
|
||||
* Time: 22:24
|
||||
*/
|
||||
|
||||
namespace common\hhapi\core\service;
|
||||
|
||||
|
||||
use common\hhapi\core\lib\Company;
|
||||
use common\hhapi\core\lib\Vacancy;
|
||||
|
||||
class HHService
|
||||
{
|
||||
|
||||
/**
|
||||
* @param $id
|
||||
* @return Company
|
||||
*/
|
||||
public function company($id)
|
||||
{
|
||||
return new Company($id);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $id
|
||||
* @return Vacancy
|
||||
*/
|
||||
public function vacancy($id)
|
||||
{
|
||||
return new Vacancy($id);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return HHService
|
||||
*/
|
||||
public static function run()
|
||||
{
|
||||
return new self();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user