Skip to content

Latest commit

 

History

History
78 lines (55 loc) · 751 Bytes

README.md

File metadata and controls

78 lines (55 loc) · 751 Bytes

My Handy PhpStorm Live Templates

Constructor Live Template

Install

  1. Go to PhpStorm Preferences | Tools | Settings Repository

  2. Add Read-only Source https://github.com/TomasVotruba/PhpStorm-LiveTemplates

  3. Restart PhpStorm and profit!

What is in this package?

st

declare(strict_types=1);

ctor

public function __construct($END$)
{
}

pub

public function $NAME$($ARGS$)
{
    $END$
}

pri

private function $NAME$($ARGS$)
{
    $END$
}

vs

/**
 * @var string
 */

va

/**
 * @var string[]
 */

vi

/**
 * @var int
 */

ra

/**
 * @return string[]
 */