This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Sequenzia/Rails/ServiceManager/ServiceAwareTrait.php
2013-10-02 01:12:58 -05:00

11 lines
164 B
PHP
Executable File

<?php
namespace Rails\ServiceManager;
trait ServiceAwareTrait
{
public function getService($name)
{
return \Rails::services()->get($name);
}
}