Skip to content

properties #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

angujo
Copy link

@angujo angujo commented Apr 16, 2017

Added columns as properties for model. Properties can be set via comments or directly in the model.
artisan variable -c true sets the properties as comments while -c false sets them in model as variables.
Assist in IDEs such as Phpstorm for intellisense.

* @property string $column1
* @property int $column2...

Or

/** @var ... */
public $column1;
/** @var ... */
public $column2...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant