HI all, i want to extend functionality of find method in phalcon collection class so i am implementing CollectionInterface in my own collection class, but unfortunately i am having an issue while making it work with empty declared functions. My script just stops execution without any notice or error. I have looked into zephir code and tried to translate it manually. I also confirmed the version i am using and the code i am viewing on github is same.

please help me what am i missing while implementing CollectionInterface.

<?php
class BCollection implements Phalcon\Mvc\CollectionInterface{   
    public function setId($id){}

    public function getId(){}

    public function getReservedAttributes(){}

    public function getSource(){}

    public function setConnectionService($connectionService){}

    public function getConnection(){}

    public static function cloneResult(\Phalcon\Mvc\CollectionInterface $collection, $document){}

    public function fireEvent($eventName){}

    public function fireEventCancel($eventName){}

    public function validationHasFailed(){}

    public function getMessages(){}

    public function appendMessage(\Phalcon\Mvc\Model\MessageInterface $message){}

    public function save(){}

    public static function findById($id){}

    public static function findFirst($parameters = null){}

    public static function find($parameters = null){}

    public static function count($parameters = null){}

    public function delete(){}
}