yii\apidoc\models\PropertyDoc::getIsReadOnly PHP Method

getIsReadOnly() public method

public getIsReadOnly ( ) : boolean
return boolean if property is read only
    public function getIsReadOnly()
    {
        return $this->getter !== null && $this->setter === null;
    }