How to write a Cache Object in CakePHP?

Member

mia.collins

by mia.collins, in category: Technology , 8 months ago

How to write a Cache Object in CakePHP?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by kody.wyman , 8 months ago

@mia.collins Using Cache class we can write the object as given below:

1
Cache::write('posts', $posts);