# |
Jun 19th 2019, 15:26 |
ricksaccous |
@olanowsubomi https://laravel.com/docs/5.8/homestead |
# |
Jun 19th 2019, 15:25 |
olanowsubomi |
? |
# |
Jun 19th 2019, 15:25 |
olanowsubomi |
please, is there anyone who has the experience of vagrant to download cakephp |
# |
Jun 19th 2019, 15:22 |
olanowsubomi |
ok you mean i would use php install the composer? |
# |
Jun 19th 2019, 15:20 |
neon1024 |
@khalid Indeed it is. |
# |
Jun 19th 2019, 15:19 |
olanowsubomi |
hi, conehead i have just finished downloading the vagrant, im thinking if im to download the composer i will need to use it rather than the raw php or how do i do it? |
# |
Jun 19th 2019, 15:10 |
khalid |
in the same group |
# |
Jun 19th 2019, 15:10 |
khalid |
its a conversation above |
# |
Jun 19th 2019, 15:08 |
neon1024 |
Or pastebin or something |
# |
Jun 19th 2019, 15:08 |
neon1024 |
:point_up: Use a Gist |
# |
Jun 19th 2019, 15:00 |
khalid |
anyone? https://cakesf.slack.com/archives/C053DPNGT/p1560945099369700 |
# |
Jun 19th 2019, 14:03 |
ricksaccous |
yeah, just took a quick look at it, i can see how it would be hard to figure out what types are for each variable |
# |
Jun 19th 2019, 14:02 |
dereuromark |
feel free to code a controller lookup for the variables, but even then it will be hard to detect the types |
# |
Jun 19th 2019, 13:57 |
ricksaccous |
i see i see |
# |
Jun 19th 2019, 13:57 |
dereuromark |
based on conventions |
# |
Jun 19th 2019, 13:56 |
dereuromark |
it right now can only guess |
# |
Jun 19th 2019, 13:56 |
dereuromark |
read the code |
# |
Jun 19th 2019, 13:53 |
ricksaccous |
@dereuromark why did it do pendingDetails for you and not the rest? |
# |
Jun 19th 2019, 13:51 |
ricksaccous |
``` $this->set(compact('new', 'current', 'data', 'pendingDetails', 'status', 'tasks', 'servers')); ``` |
# |
Jun 19th 2019, 13:51 |
ricksaccous |
oops |
# |
Jun 19th 2019, 13:51 |
ricksaccous |
``` |
# |
Jun 19th 2019, 13:50 |
ricksaccous |
because in your controller you set |
# |
Jun 19th 2019, 13:50 |
ricksaccous |
so it actually doesn't look at what you set |
# |
Jun 19th 2019, 13:48 |
dereuromark |
rest is manual work for you |
# |
Jun 19th 2019, 13:47 |
dereuromark |
normal templates are supported right now ``` -> index | * @var \App\View\AppView $this | + * @var \Queue\Model\Entity\QueuedJob[]|\Cake\Collection\CollectionInterface $queuedJobs | */ -> 1 annotation added. ``` etc see my queue plugin |
# |
Jun 19th 2019, 13:47 |
ricksaccous |
is in a plugin |
# |
Jun 19th 2019, 13:47 |
ricksaccous |
actually my layout where i actually use viewVars |
# |
Jun 19th 2019, 13:43 |
ricksaccous |
let me give it a go |
# |
Jun 19th 2019, 13:43 |
ricksaccous |
actually i think i'm using things in my layout |
# |
Jun 19th 2019, 13:43 |
ricksaccous |
lol |
# |
Jun 19th 2019, 13:43 |
ricksaccous |
i haven't tried it out too much yet, most of my app is just plugins |
# |
Jun 19th 2019, 13:43 |
dereuromark |
app itself is sure working fine right? |
# |
Jun 19th 2019, 13:42 |
dereuromark |
so inside plugins, that is important to know |
# |
Jun 19th 2019, 13:42 |
ricksaccous |
```/** * @var \App\View\AppView $this */``` |
# |
Jun 19th 2019, 13:42 |
ricksaccous |
but the only annotation i get is |
# |
Jun 19th 2019, 13:42 |
ricksaccous |
bin/cake annotations templates -p CompanyStaff |
# |
Jun 19th 2019, 13:42 |
dereuromark |
whats your issue? what command do you run? they should be added |
# |
Jun 19th 2019, 13:41 |
ricksaccous |
is there something i'm missing to get that going? |
# |
Jun 19th 2019, 13:41 |
ricksaccous |
anyone have any luck getting the ideHelper to create the view variable annotations for you in the template? |
# |
Jun 19th 2019, 13:37 |
waspinator |
@olanowsubomi you can also try docker. I have an example set up here https://github.com/waspinator/cakephp-quickstart |
# |
Jun 19th 2019, 13:13 |
steinkel |
@olanowsubomi check https://github.com/alt3/cakebox too, additionally we use this VM in training sessions > https://www.cakedc.com/jorge_gonzalez/2018/01/17/using-a-vagrant-box-as-quick-environment-for-the-getting-started-with-cakephp-training-session |