Bitrix24\Im\Attach\Item\File::getAttachTypeCode PHP Method

getAttachTypeCode() public method

public getAttachTypeCode ( ) : string
return string
    public function getAttachTypeCode()
    {
        return self::ATTACH_TYPE_CODE;
    }

Usage Example

Example #1
0
 /**
  * @covers \Bitrix24\Im\Attach\Item\File::getAttachTypeCode
  */
 public function testFileTypeCode()
 {
     $obItem = new File(null, null, null);
     $this->assertSame($obItem->getAttachTypeCode(), 'FILE');
 }