Install Mean.io on Ubuntu
Just run the follow command:
curl https://gist.githubusercontent.com/AlmogBaku/8820549bf853f6e5aef3/raw/afb0176e60b47952017be3761c458a56a624a579/meanInstall.sh | sh
| <?php | |
| /** | |
| * Created by PhpStorm. | |
| * User: AlmogBaku | |
| * Date: 04/12/2015 | |
| * Time: 3:13 PM | |
| */ | |
| namespace Rimoto\ApiBundle\Security; |
| package net.rimoto.android.utils; | |
| import android.support.v4.view.ViewPager; | |
| import com.viewpagerindicator.PageIndicator; | |
| import java.util.ArrayList; | |
| /** | |
| * Indicator Aggregator | |
| */ | |
| public class IndicatorAggregator implements PageIndicator { |
| <?php | |
| /** | |
| * @author Almog Baku | |
| * almog@GoDisco.net | |
| * http://www.GoDisco.net/ | |
| * | |
| * 10/05/15 18:43 | |
| */ | |
| namespace Rimoto\SubscriberBundle\Request\ParamConverter; |
| /** | |
| * Create new service | |
| * @Post("/services/") | |
| * | |
| * @View("::api.html.twig") | |
| * @Security("has_role('ROLE_ADMIN')") | |
| * | |
| * @ApiDoc( | |
| * authenticationRoles={"Admin"}, | |
| * input="Rimoto\PolicyBundle\Form\SCEServiceType", |
Just run the follow command:
curl https://gist.githubusercontent.com/AlmogBaku/8820549bf853f6e5aef3/raw/afb0176e60b47952017be3761c458a56a624a579/meanInstall.sh | sh
Allow non-latin slugs using DoctrineExtensions sluggable.
slugger class (change the namespace of course)sluggable service as described in symfony-services.ymlsluggable service method as described in call.php