Skip to content

Instantly share code, notes, and snippets.

View defaultpage's full-sized avatar
:octocat:
Ok

Default User defaultpage

:octocat:
Ok
  • Ukraine
View GitHub Profile
@defaultpage
defaultpage / class-order.php
Created August 7, 2018 09:36 — forked from hkdobrev/class-order.php
PHP convention for the order in a class.
<?php namespace Vendor\Library;
use Another\Vendor\Library\ClassName;
abstract class ClassName extends AnotherClass implements Countable, Serializable
{
const CONSTANTS = 'top';
use someTrait, anotherTrait {
anotherTrait::traitMethod insteadof someTrait;