Yii Framework Forum

Class CCommandUtils


(OscarFabian) #1

Hello, someone knows the documentation about this CCommandUtils class and its functions.

Since I am doing a migration from yii 1.0 to yii 2.0.

Yii 1.0

if(!CCommandUtils::startCommandPid(FILE . $client_id)) return;
$this->sendSMSs($client);
CCommandUtils::stopCommandPid(FILE . $client_id);

Yii 2.0

How to replace it ?


(Softark) #2

It looks like that CCommandUtils is a third party library or a component specific to the project. I couldn’t find any reference to it in Yii 1.x documentation.


(Alirz23) #3

Its definitely not a yii 1 class check your app source or better yet try with an editor that allows you to jump to class definitions.


(OscarFabian) #4

I have seen the class and I think it is something personalized, thank you very much.