News for hackers. Stuff that matters.
Re:In many ways PHP is just now starting to come into its own by memla on Saturday August 24, 2013 @09:10AM (#6268539)
That example is framework specific. Change the php framework to laravel and this:

    $topic = $this->get('model.Topic')->find($topic_id);
    $this->get('guardian')->ensureVisible($topic);
becomes this:

    $topic = Topic::find($topicId);
    Guardian::ensureVisible($topic);

There are no comments on this comment yet.