Corcel\PostBuilder::typeIn PHP 메소드

typeIn() 공개 메소드

Get only posts from an array of custom post types
public typeIn ( array $type ) : PostBuilder
$type array
리턴 PostBuilder
    public function typeIn(array $type)
    {
        return $this->whereIn('post_type', $type);
    }