Created
February 22, 2016 16:09
-
-
Save jgrossi/e315602781a9adcbdf58 to your computer and use it in GitHub Desktop.
Custom post types and models
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Corcel\Post as Corcel; | |
class Service extends Corcel | |
{ | |
protected $postType = 'service'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment